Skip to content

Commit

Permalink
[#89576510] Fix configuration of es6-promise polyfill.
Browse files Browse the repository at this point in the history
We were using require, but it wasn't doing what it would be expected to do.
Now we are using the no-require polyfill initialization.
stefanpenner/es6-promise#75
  • Loading branch information
Jonathan Sandoe committed Mar 26, 2015
1 parent bfe0922 commit bd42f09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/dg/libraries/es6-promise-polyfill.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
// Polyfill the Promise object.
window.Promise = window.Promise || require('libraries/es6-promise-2.0.1.js');
sc_require('es6-promise-2.0.1.js');
window.Promise = window.Promise || ES6Promise.Promise;

0 comments on commit bd42f09

Please sign in to comment.