Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Index loads but ember app content does not

$
0
0

@jeffreyg wrote:

Occasionally my index page of my site loads but my app content does not. Looking at my main.js file I found the router and wondering if there is something incorrect within it to cause ember.js to sometimes not load the page.

function() {
    App.NowplayingRoute = Ember.Route.extend({
        queryParams: {
            movie: {
                refreshModel: !0
            },
            showCriticsPicks: {
                refreshModel: !0
            }
        },
        model: function(a) {
            return console.log(a.movie), App.Movie.findAll(a)
        },
        didTransition: function() {
            googletag.pubads().refresh(), console.log("now playing transitioned")
        }
    })
}(),

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles