Base of project created

This commit is contained in:
Sebastian Seedorf
2016-01-26 18:24:31 +01:00
parent 89a8e5403e
commit 01f4a0cd49
933 changed files with 171161 additions and 0 deletions

12
node_modules/promise/polyfill-done.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
// 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)
})
}
}