mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Fix build.
Former-commit-id: 114ddcfec3e9bd4bccf481e8ec943ffdead2bb24
This commit is contained in:
@@ -45,8 +45,8 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
// add a space so `define` is detected by the Dojo builder
|
// add a space so `define` is detected by the Dojo builder
|
||||||
source = source.replace(/.define\(/, function(match) {
|
source = source.replace(/(.)(define\()/, function(match, prelude, define) {
|
||||||
return (/^\S/.test(match) ? ' ' : '') + match;
|
return prelude + (/^\S/.test(prelude) ? ' ' : '') + define;
|
||||||
});
|
});
|
||||||
|
|
||||||
// add trailing semicolon
|
// add trailing semicolon
|
||||||
|
|||||||
Reference in New Issue
Block a user