kornelski / slip

Slip.js — UI library for manipulating lists via swipe and drag gestures
BSD 2-Clause "Simplified" License
2.44k stars 213 forks source link

Polyfill for Function.bind #27

Closed guillerodriguez closed 9 years ago

guillerodriguez commented 9 years ago

This fixes #26.

kornelski commented 9 years ago

Sorry, I think it's a bad style for libraries to polyfill random parts of the platform - you could get bind behaving slightly differently depending on order you include your libraries!

I recommend to just include polyfills before including libraries. As a bonus you'll be including polyfills once and only when necessary.

Also have a look at http://labs.ft.com/2014/09/polyfills-as-a-service/

guillerodriguez commented 9 years ago

Males sense, think you!