shorter binding

This commit is contained in:
Tobias Koppers 2016-02-13 10:13:39 +01:00
parent 1cf2cb5fef
commit d71d58a355
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ HarmonyImportSpecifierDependency.Template.prototype.apply = function(dep, source
content = "/* harmony namespace import */ " + dep.importedVar; content = "/* harmony namespace import */ " + dep.importedVar;
} }
if(dep.call) { if(dep.call) {
content = "" + content + ".bind(undefined)"; content = "" + content + ".bind()";
} }
source.replace(dep.range[0], dep.range[1] - 1, content); source.replace(dep.range[0], dep.range[1] - 1, content);
}; };