javascript - Application is not loaded after upgrading Ember v.1.5 -


i have updated ember v1.5 v1.4. after application not getting rendered. in application, using _super() in lot of places. make problem. , using require.js well.

i debug through app, , found triggered indexroute. after nothing happen. below route structure,

route map:

app.router.map(function() {     this.resource('public', { path: '/public' }, function() {         this.route('login');         this.route('logout');     }); });  ember.router.reopen({     transitionto : function(name, param) {         .......         //handling  own code here         .......         this._super(name);     } });  app.baseroute = ember.route.extend({     setup : function(context) {         var thatsuper = this._super;         require(_rp, function() {                 .......                 //handling  own code here                 .......                 thatsuper.call(self, context);                 ........         }, function(error){             ...handling error.....         });     },     rendertemplate : function(router, context) {         window.scrollto(0, 0);     } });  app.indexroute = app.baseroute.extend({     redirect : function() {         this.transitionto('public.login');     } });  app.publicloginroute = app.baseroute.extend({      rendertemplate : function(router, context) {     this._super(router, context);         this.render('publiclogin', {             : 'applicationhbs',             outlet : 'appbody'         });     } }); 


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -