Ember-CLI: Fix for “'Ember' is not defined”?
问题 When using Ember-CLI and running ember server, I get the following error from JSLint: [app_path]/filename.js: line 1, col 16, 'Ember' is not defined. Adding import Ember from 'ember'; fixes this. Is this the official way to go now on all my files? The documentation does not mention this change yet. 回答1: EDIT From Stephan Penner: We explicitly left it [Ember] out [of the .jshintrc file], please import ember instead. We plan on exposing more and more of ember as es6, someday this will allow the