jpex-web
Default factories for Jpex in a browser environment
Installation
npm install jpex-web --save
Usage
Webpack/Browserify:
var Jpex = ;var jpexWeb = ;Jpex;
or...
var Jpex = ;var jpexWeb = ;Jpex;
HTML/Javascript
API
jpex-web automatically includes all factories from the jpex-defaults plugin, plus a few extras:
$promise
Although $promise is already included as part of jpex-defaults, this plugin adds a polyfill that is leveraged when the browser doesn't natively support the Promise object.
$window
This returns the global window object.
$document
This returns the global document object.