mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Built, version bump
This commit is contained in:
parent
f2fa749793
commit
f1abf5896e
10 changed files with 32 additions and 14 deletions
|
@ -2185,7 +2185,7 @@ global.RSVP = requireModule('rsvp');
|
|||
'use strict';
|
||||
|
||||
var EPUBJS = EPUBJS || {};
|
||||
EPUBJS.VERSION = "0.2.4";
|
||||
EPUBJS.VERSION = "0.2.5";
|
||||
|
||||
EPUBJS.plugins = EPUBJS.plugins || {};
|
||||
|
||||
|
@ -5880,7 +5880,13 @@ EPUBJS.Render.Iframe.prototype.setLeft = function(leftPos){
|
|||
// this.bodyEl.style.marginLeft = -leftPos + "px";
|
||||
// this.docEl.style.marginLeft = -leftPos + "px";
|
||||
// this.docEl.style[EPUBJS.Render.Iframe.transform] = 'translate('+ (-leftPos) + 'px, 0)';
|
||||
this.document.defaultView.scrollTo(leftPos, 0);
|
||||
|
||||
if (navigator.userAgent.match(/(iPad|iPhone|iPod|Mobile|Android)/g)) {
|
||||
this.docEl.style["-webkit-transform"] = 'translate('+ (-leftPos) + 'px, 0)';
|
||||
} else {
|
||||
this.document.defaultView.scrollTo(leftPos, 0);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
EPUBJS.Render.Iframe.prototype.setStyle = function(style, val, prefixed){
|
||||
|
|
File diff suppressed because one or more lines are too long
4
build/epub.min.js
vendored
4
build/epub.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -2184,7 +2184,7 @@ global.RSVP = requireModule('rsvp');
|
|||
'use strict';
|
||||
|
||||
var EPUBJS = EPUBJS || {};
|
||||
EPUBJS.VERSION = "0.2.4";
|
||||
EPUBJS.VERSION = "0.2.5";
|
||||
|
||||
EPUBJS.plugins = EPUBJS.plugins || {};
|
||||
|
||||
|
@ -5879,7 +5879,13 @@ EPUBJS.Render.Iframe.prototype.setLeft = function(leftPos){
|
|||
// this.bodyEl.style.marginLeft = -leftPos + "px";
|
||||
// this.docEl.style.marginLeft = -leftPos + "px";
|
||||
// this.docEl.style[EPUBJS.Render.Iframe.transform] = 'translate('+ (-leftPos) + 'px, 0)';
|
||||
this.document.defaultView.scrollTo(leftPos, 0);
|
||||
|
||||
if (navigator.userAgent.match(/(iPad|iPhone|iPod|Mobile|Android)/g)) {
|
||||
this.docEl.style["-webkit-transform"] = 'translate('+ (-leftPos) + 'px, 0)';
|
||||
} else {
|
||||
this.document.defaultView.scrollTo(leftPos, 0);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
EPUBJS.Render.Iframe.prototype.setStyle = function(style, val, prefixed){
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "EpubJS",
|
||||
"version": "0.2.4",
|
||||
"version": "0.2.5",
|
||||
"repository": "https://github.com/futurepress/epub.js",
|
||||
"devDependencies": {
|
||||
"colors": "~0.6.2",
|
||||
|
|
File diff suppressed because one or more lines are too long
10
reader/js/epub.min.js
vendored
10
reader/js/epub.min.js
vendored
|
@ -2185,7 +2185,7 @@ global.RSVP = requireModule('rsvp');
|
|||
'use strict';
|
||||
|
||||
var EPUBJS = EPUBJS || {};
|
||||
EPUBJS.VERSION = "0.2.4";
|
||||
EPUBJS.VERSION = "0.2.5";
|
||||
|
||||
EPUBJS.plugins = EPUBJS.plugins || {};
|
||||
|
||||
|
@ -5880,7 +5880,13 @@ EPUBJS.Render.Iframe.prototype.setLeft = function(leftPos){
|
|||
// this.bodyEl.style.marginLeft = -leftPos + "px";
|
||||
// this.docEl.style.marginLeft = -leftPos + "px";
|
||||
// this.docEl.style[EPUBJS.Render.Iframe.transform] = 'translate('+ (-leftPos) + 'px, 0)';
|
||||
this.document.defaultView.scrollTo(leftPos, 0);
|
||||
|
||||
if (navigator.userAgent.match(/(iPad|iPhone|iPod|Mobile|Android)/g)) {
|
||||
this.docEl.style["-webkit-transform"] = 'translate('+ (-leftPos) + 'px, 0)';
|
||||
} else {
|
||||
this.document.defaultView.scrollTo(leftPos, 0);
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
EPUBJS.Render.Iframe.prototype.setStyle = function(style, val, prefixed){
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
var EPUBJS = EPUBJS || {};
|
||||
EPUBJS.VERSION = "0.2.4";
|
||||
EPUBJS.VERSION = "0.2.5";
|
||||
|
||||
EPUBJS.plugins = EPUBJS.plugins || {};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue