mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Switch to Native Promises, add polyfills.js in dist folder
This commit is contained in:
parent
a4e76029d4
commit
151dc97d19
28 changed files with 677 additions and 3049 deletions
|
@ -85,7 +85,7 @@
|
|||
// Add several scripts / css
|
||||
rendition.hooks.content.register(function(view){
|
||||
|
||||
var loaded = RSVP.all([
|
||||
var loaded = Promise.all([
|
||||
view.addScript("http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"),
|
||||
view.addCss("http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.css")
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue