mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 09:47:48 +00:00
Adjust build for renamed variables and _.runInContext dependencies, and cleanup build.js and build/pre-compile.js.
Former-commit-id: 0d813bc111617e9b8cd922b505ec8c90ce09063b
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
'loop',
|
||||
'nonEnumArgs',
|
||||
'noCharByIndex',
|
||||
'shadowed',
|
||||
'shadowedProps',
|
||||
'top',
|
||||
'useHas'
|
||||
];
|
||||
@@ -58,20 +58,28 @@
|
||||
|
||||
/** Used to protect the specified properties from getting minified */
|
||||
var propWhitelist = [
|
||||
'Array',
|
||||
'Boolean',
|
||||
'Date',
|
||||
'Function',
|
||||
'Math',
|
||||
'Number',
|
||||
'Object',
|
||||
'RegExp',
|
||||
'String',
|
||||
'VERSION',
|
||||
'_',
|
||||
'__wrapped__',
|
||||
'after',
|
||||
'all',
|
||||
'amd',
|
||||
'any',
|
||||
'Array',
|
||||
'assign',
|
||||
'at',
|
||||
'attachEvent',
|
||||
'bind',
|
||||
'bindAll',
|
||||
'bindKey',
|
||||
'Boolean',
|
||||
'clearTimeout',
|
||||
'clone',
|
||||
'cloneDeep',
|
||||
@@ -81,7 +89,6 @@
|
||||
'contains',
|
||||
'countBy',
|
||||
'criteria',
|
||||
'Date',
|
||||
'debounce',
|
||||
'defaults',
|
||||
'defer',
|
||||
@@ -105,14 +112,13 @@
|
||||
'forEach',
|
||||
'forIn',
|
||||
'forOwn',
|
||||
'Function',
|
||||
'functions',
|
||||
'global',
|
||||
'groupBy',
|
||||
'has',
|
||||
'head',
|
||||
'imports',
|
||||
'identity',
|
||||
'imports',
|
||||
'include',
|
||||
'index',
|
||||
'indexOf',
|
||||
@@ -145,7 +151,6 @@
|
||||
'last',
|
||||
'lastIndexOf',
|
||||
'map',
|
||||
'Math',
|
||||
'max',
|
||||
'memoize',
|
||||
'merge',
|
||||
@@ -153,11 +158,9 @@
|
||||
'min',
|
||||
'mixin',
|
||||
'noConflict',
|
||||
'Object',
|
||||
'object',
|
||||
'omit',
|
||||
'once',
|
||||
'Number',
|
||||
'pairs',
|
||||
'parseInt',
|
||||
'partial',
|
||||
@@ -168,7 +171,6 @@
|
||||
'range',
|
||||
'reduce',
|
||||
'reduceRight',
|
||||
'RegExp',
|
||||
'reject',
|
||||
'rest',
|
||||
'result',
|
||||
@@ -182,7 +184,6 @@
|
||||
'sortBy',
|
||||
'sortedIndex',
|
||||
'source',
|
||||
'String',
|
||||
'tail',
|
||||
'take',
|
||||
'tap',
|
||||
@@ -199,7 +200,6 @@
|
||||
'value',
|
||||
'values',
|
||||
'variable',
|
||||
'VERSION',
|
||||
'where',
|
||||
'without',
|
||||
'wrap',
|
||||
|
||||
Reference in New Issue
Block a user