1.3.0 • Published 8 years ago

spa-develop v1.3.0

Weekly downloads
6
License
GPL-3.0
Repository
github
Last release
8 years ago

Application core

build status npm version dependencies status devDependencies status Gitter

Main module to create SPA application. It's an instance of Model module. Contains common data used by other modules, handles global events. Can be used as a common events bus.

Installation

npm install spa-app

Usage

Add the instance to the scope:

var app = require('spa-app');

At run-time has the following attributes:

NameDescription
app.data.timeDifferent timestamps marks.

Development mode

There is a global var DEVELOP which activates additional consistency checks and protection logic not available in release mode.

Contribution

If you have any problem or suggestion please open an issue here. Pull requests are welcomed with respect to the JavaScript Code Style.

License

spa-app is released under the MIT License.