Skip to content

Commit

Permalink
use slice.call, because call is faster
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuintun committed May 7, 2014
1 parent ac61718 commit ee51acf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/iduri.js
Expand Up @@ -138,7 +138,7 @@ exports.realpath = realpath;

// join
function join(){
var paths = slice.apply(arguments);
var paths = slice.call(arguments);
return normalize(paths.join(path.sep));
}
exports.join = join;
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "cmd-helper",
"version": "0.2.2",
"version": "0.2.3",
"main": "index.js",
"license": "MIT",
"keywords": [
Expand Down

0 comments on commit ee51acf

Please sign in to comment.