mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Fix build.
Former-commit-id: 17c97c9e2cad21ea6eb0af3d7b93ebb5caa89720
This commit is contained in:
4
build.js
4
build.js
@@ -190,7 +190,6 @@
|
|||||||
'firstArg',
|
'firstArg',
|
||||||
'loop',
|
'loop',
|
||||||
'shadowedProps',
|
'shadowedProps',
|
||||||
'support',
|
|
||||||
'top',
|
'top',
|
||||||
'useHas'
|
'useHas'
|
||||||
];
|
];
|
||||||
@@ -2498,8 +2497,7 @@
|
|||||||
.replace(/__p *\+= *' *';/g, '')
|
.replace(/__p *\+= *' *';/g, '')
|
||||||
.replace(/(__p *\+= *)' *' *\+/g, '$1')
|
.replace(/(__p *\+= *)' *' *\+/g, '$1')
|
||||||
.replace(/({) *;|; *(})/g, '$1$2')
|
.replace(/({) *;|; *(})/g, '$1$2')
|
||||||
.replace(/\(\(__t *= *\( *([^)]+) *\)\) *== *null *\? *'' *: *__t\)/g, '($1)')
|
.replace(/\(\(__t *= *\( *([^)]+) *\)\) *== *null *\? *'' *: *__t\)/g, '($1)');
|
||||||
.replace(/obj\.(?=support)/g, '')
|
|
||||||
|
|
||||||
// remove the with-statement
|
// remove the with-statement
|
||||||
snippet = snippet.replace(/ *with *\(.+?\) *{/, '\n').replace(/}([^}]*}[^}]*$)/, '$1');
|
snippet = snippet.replace(/ *with *\(.+?\) *{/, '\n').replace(/}([^}]*}[^}]*$)/, '$1');
|
||||||
|
|||||||
@@ -41,7 +41,6 @@
|
|||||||
'firstArg',
|
'firstArg',
|
||||||
'loop',
|
'loop',
|
||||||
'shadowedProps',
|
'shadowedProps',
|
||||||
'support',
|
|
||||||
'top',
|
'top',
|
||||||
'useHas'
|
'useHas'
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user