From 1078cc1c91a19dd9ba16c69d465fcc80a2857fa4 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 9 Aug 2013 22:48:44 -0700 Subject: [PATCH] Add `_.debounce` var dependency and remove Adobe JS engine cleanup in build. Former-commit-id: 330e19ecf1a1d33e6207291aa05b103f68541e81 --- build.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build.js b/build.js index 9ae468a06..5791e99dd 100644 --- a/build.js +++ b/build.js @@ -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()');