Ember.js: a JavaScript framework

Source: Internet
Author: User

Ember.js v2.7.3 was released.

Ember.js is a JavaScript framework that drastically reduces the time, effort, and resources required to build a Web application (Tengyun technology ty300.com). Its focus is to enable developers to handle repetitive and trivial comments as efficiently as possible, and to be better able to participate in Web project development.

Ember.js also provides javascript,html and browsers (basic tutorial qkxue.net) to provide you with access to all the most advanced features for creating your next killer Web application.

Build Ember.js

Confirm that node. js and Bower are already installed.
Run git clone https://github.com/emberjs/ember.js.git && cd ember.js.
Run git config core.symlinks true to make sure Symlinks is available.
Run git reset--hard head and set head with Symlinks.
Run the NPM install to ensure that the required dependencies are installed.
Run Bower install to ensure that the required web dependencies is installed.
Run the NPM run build to build the ember.js. And move the build to the dist/directory.
How to perform unit tests

Please do the following:

Click Building Ember.js to do the above.
Start the development service and run NPM start.
Open Http://localhost:4200/. Start the test.
Access Http://localhost:4200/tests/index.html?package=PACKAGE_NAME. Test a specific installation. Replace the package_name with the name you want to test. For example:
Ember.js Runtime
Ember.js views
Ember.js Glimmer
If you want to test multiple packages, you can separate them with commas.

You can also test different versions of jquery with jquery=version in the URL test.

From the CLI
Install phantomjs:http://phantomjs.org.
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
Ember Test--server
Connect the page you want.
If the prosthesis is not automatically connected, you can run:/bin/connect-phantom-to <optional-port>.
To run a specific browser, you can use launch.

Ember Test--server--launch sl_firefox_current
Ember Test--launch Sl_firefox_current

Ember.js: a JavaScript framework

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.