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

white space cleanup

This commit is contained in:
Fred Chasen 2013-10-25 19:59:02 -07:00
parent b9cb79e30d
commit 6fce08bc7d
13 changed files with 1263 additions and 1273 deletions

View file

@ -30,8 +30,8 @@ EPUBJS.filePath = EPUBJS.filePath || "/epubjs/";
/*
* var book = ePub({ bookPath: "path/to/book.epub", restore: true });
*
* - OR -
*
* - OR -
*
* var book = ePub({ restore: true });
* book.open("path/to/book.epub");
@ -53,11 +53,11 @@ EPUBJS.filePath = EPUBJS.filePath || "/epubjs/";
});
//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(function(){ return ePub; });
else if (typeof module != "undefined" && module.exports)
//Node
module.exports = ePub;
})();