Marionette.js views implemented with virtual-dom
JavaScript Shell
Latest commit d1ade40 Oct 28, 2016 Tiago Garcia fixing the entrypoint and bumping to v0.2.2
Permalink
Failed to load latest commit information.
dist updating last details Oct 26, 2016
samples updating last details Oct 26, 2016
src restructuring Oct 26, 2016
test restructuring Oct 26, 2016
.gitignore attempting manual publishing of the dist Mar 8, 2015
.travis.yml upgrading node on travis Oct 26, 2016
README.md
build.sh restructuring Oct 26, 2016
changelog.md updating change log Oct 26, 2016
license.txt updating license Jan 24, 2015
package.json fixing the entrypoint and bumping to v0.2.2 Oct 27, 2016

README.md

marionette-vdom

Build Status Coverage Status npm version Davis Dependency status

A Marionette.View and Marionette.CompositeView implementation with virtual-dom.

Version

  • If you are using Marionette.js v3+ you should use marionette-vdom v0.2+ (or the latest)
  • If you are using Marionette.js v2 you should use marionette-vdom v0.1.2-b

Usage

This module exposes View as the VDOM implementation for Marionette.View and CompositeView for Marionette.CompositeView:

var VDOMView = require('marionette-vdom').View;
var VDOMCompositeView = require('marionette-vdom').CompositeView;

How tos

To install:

npm install

To run the demo app:

npm run demo
open http://127.0.0.1:9966/demo/demo.html

To run the perf test:

npm run perf
open http://127.0.0.1:9966/perf/perf.html

To run the unit tests:

npm test

To generate binaries:

./build.sh
uglifyjs --compress --mangle -- marionette.vdom.js > marionette.vdom.min.js

Make sure to check out the change log.

Browser support

IE 9 on