mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Avoid circular dependency in createCallback and get Curl modularize tests working.
Former-commit-id: cf33217163f2c809fe8ddbb9debd7c95b002b8dc
This commit is contained in:
12
build.js
12
build.js
@@ -102,7 +102,7 @@
|
||||
'compose': [],
|
||||
'contains': ['basicEach', 'getIndexOf', 'isString'],
|
||||
'countBy': ['createCallback', 'forEach'],
|
||||
'createCallback': ['identity', 'isEqual', 'keys'],
|
||||
'createCallback': ['identity', 'keys'],
|
||||
'debounce': ['isObject'],
|
||||
'defaults': ['createCallback', 'createIterator'],
|
||||
'defer': ['bind'],
|
||||
@@ -252,19 +252,19 @@
|
||||
var varDependencyMap = {
|
||||
'bind': ['reNative'],
|
||||
'bindKey': ['indicatorObject'],
|
||||
'createCallback': ['indicatorObject'],
|
||||
'createIterator': ['indicatorObject', 'iteratorObject', 'objectTypes'],
|
||||
'createCallback': ['dependencyObject', 'indicatorObject'],
|
||||
'createIterator': ['dependencyObject', 'indicatorObject', 'objectTypes'],
|
||||
'createObject': ['reNative'],
|
||||
'defer': ['objectTypes', 'reNative'],
|
||||
'escape': ['reUnescapedHtml'],
|
||||
'escapeHtmlChar': ['htmlEscapes'],
|
||||
'htmlUnescapes': ['htmlEscapes'],
|
||||
'isArray': ['reNative'],
|
||||
'isEqual': ['indicatorObject'],
|
||||
'isEqual': ['dependencyObject', 'indicatorObject'],
|
||||
'isObject': ['objectTypes'],
|
||||
'isPlainObject': ['reNative'],
|
||||
'isRegExp': ['objectTypes'],
|
||||
'keys': ['iteratorObject', 'reNative'],
|
||||
'keys': ['dependencyObject', 'reNative'],
|
||||
'merge': ['indicatorObject'],
|
||||
'partialRight': ['indicatorObject'],
|
||||
'reEscapedHtml': ['htmlUnescapes'],
|
||||
@@ -3285,7 +3285,7 @@
|
||||
// replace `_.isEqual`
|
||||
if (!isLodash('isEqual')) {
|
||||
source = replaceFunction(source, 'isEqual', [
|
||||
'function isEqual(a, b, stackA, stackB) {',
|
||||
'var isEqual = dependencyObject.isEqual = function(a, b, stackA, stackB) {',
|
||||
' if (a === b) {',
|
||||
' return a !== 0 || (1 / a == 1 / b);',
|
||||
' }',
|
||||
|
||||
Reference in New Issue
Block a user