This addon is deprecated in favour of using pure babel plugin (babel-plugin-javacsript) in you ember application.
This addon will allow you to import all globals using js modules. Thanks to that you will stop using non-explicit variables and detect non-existent API.
This is a wrapper for a babel plugin: babel-plugin-javacsript
import JavaScript from 'javascript';
// You can access all globals like from self
import { Object } from 'javascript';
// You can also destructure a single object
import Math from 'javascript/Math';
// You can even import explicit module
import { abs } from 'javascript/Math';
// And of course, desctruct it
ember install ember-js-modules
git clone https://github.com/Exelord/ember-js-modules
cd ember-js-modules
npm install
npm run lint:js
npm run lint:js -- --fix
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"ember try:each
– Runs the test suite against multiple Ember versions
ember serve
- Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.
This project is licensed under the MIT License.