Ember.$ is available in the controller whereas this.$ is not. But it is available in components. Ember.$(".loading-splash").hide(); is working on controller where as this.$(".loading-splash").hide(); is throwing an exception "this.$() is unavailable"
Aucun commentaire:
Enregistrer un commentaire