diff --git a/build.js b/build.js index 61c21ee2b..9f7d1162d 100755 --- a/build.js +++ b/build.js @@ -190,7 +190,6 @@ 'firstArg', 'loop', 'shadowedProps', - 'support', 'top', 'useHas' ]; @@ -2498,8 +2497,7 @@ .replace(/__p *\+= *' *';/g, '') .replace(/(__p *\+= *)' *' *\+/g, '$1') .replace(/({) *;|; *(})/g, '$1$2') - .replace(/\(\(__t *= *\( *([^)]+) *\)\) *== *null *\? *'' *: *__t\)/g, '($1)') - .replace(/obj\.(?=support)/g, '') + .replace(/\(\(__t *= *\( *([^)]+) *\)\) *== *null *\? *'' *: *__t\)/g, '($1)'); // remove the with-statement snippet = snippet.replace(/ *with *\(.+?\) *{/, '\n').replace(/}([^}]*}[^}]*$)/, '$1'); diff --git a/build/pre-compile.js b/build/pre-compile.js index d8aa9dae8..f45fb7d5e 100644 --- a/build/pre-compile.js +++ b/build/pre-compile.js @@ -41,7 +41,6 @@ 'firstArg', 'loop', 'shadowedProps', - 'support', 'top', 'useHas' ];