1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

Add rsvp in require, fixes #134

This commit is contained in:
Fred Chasen 2015-09-16 15:01:58 -04:00
parent f4d0c4854e
commit 861564d5ed
7 changed files with 25 additions and 22 deletions

File diff suppressed because one or more lines are too long

13
reader/js/epub.min.js vendored
View file

@ -1647,12 +1647,13 @@ EPUBJS.Render = {};
};
//exports to multiple environments
if (typeof define === 'function' && define.amd)
//AMD
define(function(){ return ePub; });
else if (typeof module != "undefined" && module.exports)
//Node
module.exports = ePub;
if (typeof define === 'function' && define.amd) {
//AMD
define(['rsvp'], function(){ return ePub; });
} else if (typeof module != "undefined" && module.exports) {
//Node
module.exports = ePub;
}
})(window);