Sha256: abcd3ab6e5c8c8d639095b8dfb3483ba5e060f3f349d525544d616ed6a2f473c
Contents?: true
Size: 350 Bytes
Versions: 12
Compression:
Stored size: 350 Bytes
Contents
// should work in any browser without browserify if (typeof Promise.prototype.done !== 'function') { Promise.prototype.done = function (onFulfilled, onRejected) { var self = arguments.length ? this.then.apply(this, arguments) : this self.then(null, function (err) { setTimeout(function () { throw err }, 0) }) } }
Version data entries
12 entries across 10 versions & 5 rubygems