samedi 27 juin 2020

Front end not loading ember

I am more of backend guy. I need to make some minor modification on ember based front end to display true/false based on my api.

I am doing it like this (in related component). But, front end doesn't load with the changes. Why?

    var url = HOST_API + this.get("parameter");
    $.get(url, function(data){
        var docs = data;
        view.set("flag", docs);
        });

If I remove my mods the page do load!!!




Aucun commentaire:

Enregistrer un commentaire