mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 14:37:49 +00:00
Add more bizarro support changes.
This commit is contained in:
@@ -404,6 +404,7 @@
|
||||
addBizarroMethods();
|
||||
require(getConfig(), ['lodash'], function(lodash) {
|
||||
lodashBizarro = (lodash['default'] || lodash).noConflict();
|
||||
lodashBizarro.support.funcNames = !lodashBizarro.support.funcNames;
|
||||
delete requirejs.s.contexts._;
|
||||
|
||||
removeBizarroMethods();
|
||||
|
||||
@@ -466,6 +466,7 @@
|
||||
|
||||
// load Lo-Dash and expose it to the bad extensions/shims
|
||||
lodashBizarro = (lodashBizarro = require(filePath))._ || lodashBizarro['default'] || lodashBizarro;
|
||||
lodashBizarro.support.funcNames = !lodashBizarro.support.funcNames;
|
||||
|
||||
// restore native methods
|
||||
setProperty(Array, 'isArray', _isArray);
|
||||
|
||||
Reference in New Issue
Block a user