STB SDK application core.
npm install stb-appApplication core
================





Main module to create STB application.
Extends SPA app module.
Adds STB-specific logic (handle screen resolution, STB events, work inside iframe, etc.).
``bash`
npm install stb-app
Add the instance to the scope:
`js`
var app = require('stb-app');
At run-time adds the following attributes:
Name | Description
--------------------|-------------
app.data.host | True if executed on the STB device, set by debug module at runtime.
app.data.screen | Screen geometry and margins.
> There is a global var DEVELOP which activates additional consistency checks and protection logic not available in release mode.
If you have any problem or suggestion please open an issue here.
Pull requests are welcomed with respect to the JavaScript Code Style.
stb-app` is released under the MIT License.