mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Move views and helpers into managers
This commit is contained in:
parent
8dd67cc167
commit
730b06f32b
10 changed files with 2867 additions and 2866 deletions
|
@ -1,11 +1,11 @@
|
|||
var RSVP = require('rsvp');
|
||||
var core = require('../core');
|
||||
var Stage = require('../stage');
|
||||
var Views = require('../views');
|
||||
var EpubCFI = require('../epubcfi');
|
||||
// var Layout = require('../layout');
|
||||
var Mapping = require('../mapping');
|
||||
var Queue = require('../queue');
|
||||
var Stage = require('./helpers/stage');
|
||||
var Views = require('./helpers/views');
|
||||
|
||||
function SingleViewManager(options) {
|
||||
|
||||
|
@ -89,6 +89,16 @@ SingleViewManager.prototype.destroy = function(){
|
|||
// this.views.each(function(view){
|
||||
// view.destroy();
|
||||
// });
|
||||
|
||||
/*
|
||||
|
||||
clearTimeout(this.trimTimeout);
|
||||
if(this.settings.hidden) {
|
||||
this.element.removeChild(this.wrapper);
|
||||
} else {
|
||||
this.element.removeChild(this.container);
|
||||
}
|
||||
*/
|
||||
};
|
||||
|
||||
SingleViewManager.prototype.onResized = function(e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue