mirror of https://github.com/webpack/webpack.git
shorter binding
This commit is contained in:
parent
1cf2cb5fef
commit
d71d58a355
|
@ -46,7 +46,7 @@ HarmonyImportSpecifierDependency.Template.prototype.apply = function(dep, source
|
|||
content = "/* harmony namespace import */ " + dep.importedVar;
|
||||
}
|
||||
if(dep.call) {
|
||||
content = "" + content + ".bind(undefined)";
|
||||
content = "" + content + ".bind()";
|
||||
}
|
||||
source.replace(dep.range[0], dep.range[1] - 1, content);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue