backbone-viewmanager

4.0.1 • Public • Published

backbone-viewmanager

AMD module to manage backbone views

discontinued

API

Use

// requires: window, jQuery, underscore.js, backbone.js

var vm = new ViewManager({
  window: window,
  $: $,
  $el: $('body', $(window))
});

var view = ViewManager.extendView();

vm
  .show(
    view,
    {
      modal: true,
      center: true
    }
  )
  .toFront(view);

Test

requires phantomjs ("^1.9.13") and mocha-phantomjs ("^3.5.2") installed:

sudo npm install -g phantomjs
sudo npm install -g mocha-phantomjs
sudo npm install

run test:

$ grunt test

Build

target dir: build/

$ grunt build

or

$ grunt

License

WTFPL

Readme

Keywords

Package Sidebar

Install

npm i backbone-viewmanager

Weekly Downloads

2

Version

4.0.1

License

WTFPL

Last publish

Collaborators

  • kruemelo