mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 15:27:50 +00:00
Fix build.
Former-commit-id: 17c97c9e2cad21ea6eb0af3d7b93ebb5caa89720
This commit is contained in:
4
build.js
4
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');
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
'firstArg',
|
||||
'loop',
|
||||
'shadowedProps',
|
||||
'support',
|
||||
'top',
|
||||
'useHas'
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user