Sha256: ab795a1207b900e0f35fca0f0595e37b6348ef8cc1e9918f606119588f94f8fe
Contents?: true
Size: 610 Bytes
Versions: 7
Compression:
Stored size: 610 Bytes
Contents
if (typeof Function.prototype.bind != 'function') { Function.prototype.bind = function bind(obj) { var args = Array.prototype.slice.call(arguments, 1), self = this, nop = function() { }, bound = function() { return self.apply( this instanceof nop ? this : (obj || {}), args.concat( Array.prototype.slice.call(arguments) ) ); }; nop.prototype = this.prototype || {}; bound.prototype = new nop(); return bound; }; }
Version data entries
7 entries across 7 versions & 3 rubygems