vendredi 9 décembre 2016

EmberJS, load vendor folder after templates fully loaded

I put $(window).on(function(){...}); in the JS file. I put a tag right before tag close. I imported JS files in ember-cli-build.js

I tried multiple ways to have the js file executed after the templates fully loaded, but it still failed.

I deployed the web application to http://ift.tt/2hp3ld3/. What I wanted to accomplish is that, in Mobile version, the $('#sidebar') has inactive class.

Could anyone explain the proper way to load external JS files for Ember application?




Aucun commentaire:

Enregistrer un commentaire