mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
bump version to 0.3.25
This commit is contained in:
parent
4dc35bfc72
commit
bf9cd9f279
3 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "epubjs",
|
"name": "epubjs",
|
||||||
"version": "0.3.24",
|
"version": "0.3.25",
|
||||||
"description": "Parse and Render Epubs",
|
"description": "Parse and Render Epubs",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"jsnext:main": "src/index.js",
|
"jsnext:main": "src/index.js",
|
||||||
|
|
|
@ -32,8 +32,7 @@ class DefaultViewManager {
|
||||||
axis: this.settings.axis,
|
axis: this.settings.axis,
|
||||||
layout: this.layout,
|
layout: this.layout,
|
||||||
width: 0,
|
width: 0,
|
||||||
height: 0,
|
height: 0
|
||||||
globalOptions: extend({}, options.settings, {disableSrcdoc: options.settings.disableSrcdoc || false})
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,7 +102,7 @@ class IframeView {
|
||||||
// Firefox has trouble with baseURI and srcdoc
|
// Firefox has trouble with baseURI and srcdoc
|
||||||
// TODO: Disable for now in firefox
|
// TODO: Disable for now in firefox
|
||||||
|
|
||||||
if("srcdoc" in this.iframe && !this.settings.globalOptions.disableSrcdoc) {
|
if("srcdoc" in this.iframe) {
|
||||||
this.supportsSrcdoc = true;
|
this.supportsSrcdoc = true;
|
||||||
} else {
|
} else {
|
||||||
this.supportsSrcdoc = false;
|
this.supportsSrcdoc = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue