What is the best practice to implement custom Javascript code and where should I start working with Ember first?
问题 I'm using Ember 2.7.0 of course with ember-cli. I come from Rails, I used to put in "assets/application.js" all my javascript like, for example: var ready = function () { myFunction('test'); $('#btn-fluid').on('click', function () { $('#myPage').toggleClass('container') }); } document.addEventListener("turbolinks:load", function () { ready() }) Now with Ember where I have to put this code in my application? I read on the web the use of: Ember.Application.create({ ready: function () { }); but