function PageView(options) { var that = this; View.apply(this, arguments); this.options = options; // create the layout this.layout = new HeaderFooterLayout({ headerSize: App.Defaults.Header.size, footerSize: 60 }); this.createHeader(); this.createContent(); var localFlag = 'add/things'; Utils.CheckFlag(localFlag).then(function(){ // popover that.launch_help_popover(); // update flag Utils.PostFlag(localFlag, true); }); // Attach the main transform and the comboNode to the renderTree this.add(this.layout); }
function PageView(options) { var that = this; View.apply(this, arguments); this.options = options; // Models this.loadModels(); // create the layout this.layout = new HeaderFooterLayout({ headerSize: App.Defaults.Header.size, footerSize: 60 }); this.createHeader(); this.createContent(); // this.contentView = new View(); // this.contentView.OriginMod = new StateModifier({ // origin: [0, 0.5] // }); // this.contentView.Surface = new Surface({ // content: '<i class="icon ion-earth"></i><div>Coming Soon!</div><div>Worldwide updates from your Nemeses</div>', // size: [undefined, true], // classes: ['explore-surface-temp'], // properties: { // fontSize: '42px', // textAlign: 'center', // backgroundColor: "white" // } // }); // this.contentView.add(this.contentView.OriginMod).add(this.contentView.Surface); // this.layout.content.add(this.contentView); this.add(this.layout); var localFlag = 'highlights/home'; Utils.CheckFlag(localFlag).then(function(){ // popover that.launch_help_popover(); // update flag Utils.PostFlag(localFlag, true); }); // Events // this._eventInput.on('menuToggle', this.menuToggle.bind(this)) // window.setTimeout(function(){ // KnowPlayerId.resolve("529c02f00705435badb1dff5"); // },3000); }