add file alias declarations so we can alias certain long function calls - resolves #62

This commit is contained in:
Sebastian McKenzie
2014-10-14 08:49:53 +11:00
parent 5f00f74aba
commit 1f61e7675b
10 changed files with 52 additions and 17 deletions

View File

@@ -1,5 +1,7 @@
var _slice = Array.prototype.slice;
function foo() {
return bar.apply(null, ["test"].concat(Array.prototype.slice.call(arguments)));
return bar.apply(null, ["test"].concat(_slice.call(arguments)));
}
function bar(one, two, three) {
return [