Skip to content

Instantly share code, notes, and snippets.

View lorenzodallavecchia's full-sized avatar

Lorenzo Dalla Vecchia lorenzodallavecchia

View GitHub Profile
@lorenzodallavecchia
lorenzodallavecchia / bluebird-zone.js
Last active February 15, 2017 21:51
Patch for making the Bluebird library aware of Zone.js
/*
* Based on Bluebird 3.4.1
*/
(function() {
var Promise = window.Promise;
var promiseProto = Promise.prototype;
if (typeof Promise.mapSeries !== "function") {
return; // Bluebird not loaded
}