Skip to content

Commit

Permalink
Stop using the polyfill when you are assign the es6-promise after tha…
Browse files Browse the repository at this point in the history
…t anyway

es6-promise.polyfill() is broken for Chrome atm and replaces the native Promise and swallows unhandled errors.
stefanpenner/es6-promise#70
  • Loading branch information
Thorsten Basse authored and bgrozev committed Jan 28, 2016
1 parent 0c1aff5 commit d160859
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion JitsiMeetJS.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ var LibJitsiMeet = {
}
};

require("es6-promise").polyfill()
//Setups the promise object.
window.Promise = window.Promise || require("es6-promise").Promise;

Expand Down

0 comments on commit d160859

Please sign in to comment.