Comparing version 1.0.0 to 1.0.1
# Change Log | ||
All notable changes to this project will be documented in this file (keepachangelog.com). | ||
## 1.0.1 - 2016-02-03 | ||
### Fixed | ||
- Fixed bind polyfill based on comment by @adriengibrat | ||
## 1.0.0 - 2016-01-21 | ||
@@ -5,0 +9,0 @@ ### Added |
@@ -7,3 +7,3 @@ 'use strict' | ||
if (!Function.prototype.bind) Function.bind = require('fast-bind') | ||
var bind = Function.prototype.bind || require('fast-bind') | ||
@@ -35,3 +35,3 @@ /*! | ||
? fn.apply(self, arguments) | ||
: fn.bind(self, arguments[0]) | ||
: bind.call(fn, self, arguments[0]) | ||
} | ||
@@ -38,0 +38,0 @@ |
{ | ||
"name": "curry2", | ||
"description": "Curry a binary function.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Wil Moore III <wil.moore@wilmoore.com>", | ||
@@ -6,0 +6,0 @@ "bugs": { |
6179