Helpful tools/plugins for use with the WinJSRocks MVVM library.
JavaScript Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
src
test
.gitignore
.npmignore
.travis.yml
LICENSE
README.md
gulpfile.js
package.json
webpack.config.js

README.md

#WinJSRocks-Extras

Contains helpful tools for use with the WinJSRocks MVVM library.

TL;TR - Bootstrap Everything!

var WinJSRocks = require('winjsrocks');
var WinJSRocksExtras = require('winjsrocks-extras');
var app = new WinJSRocks.Application();
app.builder.registerProvider("localStorage", WinJSRocksExtras.Provider.IndexDBStorage);
app.configure({
    plugins:[
      new WinJSRocksExtras.Plugin.PlatformFeature(app)
    ]
  },
  function(err){
    // App is ready to have 'load' called!
  });

Plugins

  • Plugin.PlatformFeature - Uses the platform package to append device/platform data attributes to the document header`

Providers

  • Provider.IndexDBStorage - IndexDB implementation of the WinJSRocks localStorage provider