ariatemplates / hashspace

JavaScript client-side template engine
http://hashspace.ariatemplates.com
Apache License 2.0
14 stars 18 forks source link

Build Status devDependency Status devDependency Status Coverage Status Selenium Test Status

hashspace

Hashspace is a client-side HTML template engine. Its purpose is to provide a powerful and light-weight way to create adanced web-pages containing application logic. Please visit http://hashspace.ariatemplates.com/ for more information.

Hashspace is composed of 2 main parts:

Please refer to the samples in the unit-tests suites in the test/compiler or test/rt folders for more details. The docs/todomvc folder also contains an implementation of the todomvc application (still to be completed to match the full specifications).

To run and update the samples in a live environment, first run npm install and then:

Development

Preparing your environment

Running Tests

For jshint validation:

To run all the tests (compiler and runtime):

For the compiler test only:

For the browser-based runtime tests only:

To do the health check on the project (before commit, for example) run grunt test. This will run checkstyle verifications and all the tests (compiler and runtime).

For the browser runtime tests:

Working on the playground

To work on the playground the most simple option is to open 2 terminal windows:

Then you can use http://localhost:8000?dev=true in your favorite browser to get the development version of hashspace