Skip to content
Ember.js - A JavaScript framework for creating ambitious web applications
JavaScript Other
Find file
Latest commit 39ea4ed @rwjblue rwjblue Merge pull request #13157 from mellatone/fix-attribute-bindings-docum…
…entation

[DOC canary] Fix Ember.View documentation to reflect `attributeBindings` behavior
Failed to load latest commit information.
bin Merge branch 'master' of github.com:emberjs/ember.js into blueprints
blueprints blueprints: Update mocha blueprints
config publish dist bower.json & co to s3
generators [DOC] Update copyright year
lib Move templates into ember-glimmer.
node-tests blueprints: Update mocha blueprints
packages [DOC canary] Fix Ember.View documentation to reflect `attributeBindin…
scripts Improved File Size script
server Allow `hidepassed` to be toggled.
tests [BUGFIX release] Fix legacy addon deprecations
.bowerrc Broccolify.
.editorconfig Add EditorConfig file
.gitignore Remove '*.swp' from .gitignore
.gitmodules Update gitsubmodules urls to public repos.
.jscsrc Enforce const usage in module scope only.
.jshintrc [BUGFIX beta] Add warning for “deep @each” usage in dependent keys
.npmignore Add "ember-cli-blueprint-test-helpers" dev dependency
.travis.yml Merge pull request #13029 from Turbo87/blueprints
.watchmanconfig many build tool upgrades:
CHANGELOG.md Add v2.3.2 to CHANGELOG.
CODE_OF_CONDUCT.md Add link to community guidelines as CODE_OF_CONDUCT.md.
CONTRIBUTING.md Added commands to simplify the build processes
FEATURES.md Removed 'ember-application-visit'
LICENSE [DOC] Update copyright year
README.md Add missing bower installation steps
Rakefile Cleanup Rakefile
STYLEGUIDE.md Add missing semicolon
VERSION Post release version bump.
bower.json Merge pull request #12211 from Gaurav0/include_transition_yuidoc
ember-cli-build.js Split glimmer packages up to reduce duplication.
ember-source.gemspec [BUGFIX beta] Remove handlebars from dependencies
features.json Merge pull request #13100 from delftswa2016/feature-enabled
index.js package.json: Add "ember-addon" keyword
package.json [Glimmer 2] Add support for dynamic `tagName`
testem.dist.json Fix testem.json to quote url substitution.
testem.json create multiple tested files for each variation:
yuidoc.json Update yuidoc.json to exclude all of router.js except transition.js

README.md

Ember.js Build Status Code Climate Slack

Sauce Test Status

Ember.js is a JavaScript framework that does all of the heavy lifting that you'd normally have to do by hand. There are tasks that are common to every web app; Ember.js does those things for you, so you can focus on building killer features and UI.

Building Ember.js

  1. Ensure that Node.js and bower are installed.
  2. Run npm install to ensure the required dependencies are installed.
  3. Run bower install to ensure required web dependencies are installed.
  4. Run npm run build to build Ember.js. The builds will be placed in the dist/ directory.

npm install troubleshooting

If you encounter a problem with downloading dependencies like:

npm ERR! registry error parsing json

consider upgrading npm with:

npm install -g npm@latest

You can find more information in Upgrading on *nix (OSX, Linux, etc.) npm wiki page.

Contribution

See CONTRIBUTING.md

How to Run Unit Tests

Pull requests should pass the Ember.js unit tests. Do the following to run these tests.

  1. Follow the setup steps listed above under Building Ember.js.

  2. To start the development server, run npm start.

  3. To run all tests, visit http://localhost:4200/.

  4. To test a specific package, visit http://localhost:4200/tests/index.html?package=PACKAGE_NAME. Replace PACKAGE_NAME with the name of the package you want to test. For example:

To test multiple packages, you can separate them with commas.

You can also pass jquery=VERSION in the test URL to test different versions of jQuery.

From the CLI

  1. Install phantomjs from http://phantomjs.org.

  2. Run npm test to run a basic test suite or run TEST_SUITE=all npm test to run a more comprehensive suite.

From ember-cli

  1. ember test --server
  2. connect the browsers you want
  3. if phantom didn't connect automatically, you can run ./bin/connect-phantom-to <optional-port>

To run a specific browser, you can use the --launch flag

  • ember test --server --launch SL_Firefox_Current
  • ember test --launch SL_Firefox_Current
Something went wrong with that request. Please try again.