4.0.1 • Published 9 years ago

backbone-viewmanager v4.0.1

Weekly downloads
3
License
WTFPL
Repository
github
Last release
9 years ago

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

4.0.1

9 years ago

4.0.0

10 years ago

3.0.0

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

11 years ago

1.0.0

11 years ago