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:
parent
b9cb79e30d
commit
6fce08bc7d
13 changed files with 1263 additions and 1273 deletions
16
src/base.js
16
src/base.js
|
@ -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;
|
||||
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue