Add _.debounce var dependency and remove Adobe JS engine cleanup in build.

Former-commit-id: 330e19ecf1a1d33e6207291aa05b103f68541e81
This commit is contained in:
John-David Dalton
2013-08-09 22:48:44 -07:00
parent c97fc370cd
commit 1078cc1c91

View File

@@ -293,6 +293,7 @@
'createIterator': ['indicatorObject', 'objectTypes'],
'createBound': ['reNative'],
'createObject': ['reNative'],
'debounce': ['reNative'],
'defaults': ['defaultsIteratorOptions'],
'defer': ['objectTypes', 'reNative'],
'difference': ['largeArraySize'],
@@ -3165,11 +3166,6 @@
source = removeIsFunctionFork(source);
source = removeCreateObjectFork(source);
// remove Adobe JS engine fix from `compareAscending`
source = source.replace(matchFunction(source, 'compareAscending'), function(match) {
return match.replace(/(?: *\/\/.*\n)*( *return ai[^:]+:).+/, '$1 1;');
});
// replace `+new Date` with `Date.now` use in `_.debounce
source = source.replace(matchFunction(source, 'debounce'), function(match) {
return match.replace(/\+new Date\b/g, 'now()');