mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Add IE fallback for lack of Function#name.
Former-commit-id: 42047271fe596ed064ce2b1a58b70e6c6cd8a4af
This commit is contained in:
2
build.js
2
build.js
@@ -1791,6 +1791,8 @@
|
||||
* @returns {string} Returns the modified source.
|
||||
*/
|
||||
function removeEsOptimization(source) {
|
||||
source = removeSupportProp(source, 'funcNames');
|
||||
|
||||
// remove `__bindData__` logic and `setBindData` function calls from `createBound`
|
||||
source = source.replace(matchFunction(source, 'createBound'), function(match) {
|
||||
return match
|
||||
|
||||
Reference in New Issue
Block a user