2.0.3 • Published 5 years ago

stb-app v2.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Application core

build status npm version dependencies status devDependencies status Gitter

Main module to create STB application. Extends SPA app module. Adds STB-specific logic (handle screen resolution, STB events, work inside iframe, etc.).

Installation

npm install stb-app

Usage

Add the instance to the scope:

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

At run-time adds the following attributes:

NameDescription
app.data.hostTrue if executed on the STB device, set by debug module at runtime.
app.data.screenScreen geometry and margins.

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

stb-app is released under the MIT License.

2.0.3

5 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.5.0

6 years ago

1.4.3

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.0

8 years ago

0.0.1

9 years ago

0.1.0

9 years ago