Comparing version 0.0.1 to 0.0.2
@@ -10,3 +10,5 @@ var cached = new WeakMap() | ||
function bindArgs() { | ||
return bind.apply(undefined, arguments) | ||
var args = Array.prototype.splice.call(arguments, 0) | ||
args.unshift(undefined) | ||
return bind.apply(undefined, args) | ||
} | ||
@@ -13,0 +15,0 @@ |
{ | ||
"name": "cachebind", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Cache/memoize result of bind function with its context or/and args (no-shims version)", | ||
@@ -22,3 +22,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git+ssh://git@github.com/unlabeled/bind-cache.git" | ||
"url": "git+ssh://git@github.com/unlabeled/cachebind.git" | ||
}, | ||
@@ -36,5 +36,5 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/unlabeled/bind-cache/issues" | ||
"url": "https://github.com/unlabeled/cachebind/issues" | ||
}, | ||
"homepage": "https://github.com/unlabeled/bind-cache#readme", | ||
"homepage": "https://github.com/unlabeled/cachebind#readme", | ||
"devDependencies": { | ||
@@ -41,0 +41,0 @@ "lint-staged": "^6.0.0", |
7090
5
90