Skip to content

14islands/backbone-view-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backbone View Manager

This is a simple implementation of a view manager for Backbone as explained in this blog post:

http://hjortureh.tumblr.com/post/23095099687/backbone-js-routing-made-simple

Usage

First register all views, example:

MYAPP.viewManager = new Backbone.ViewManager(); MYAPP.viewManager.register( new BackboneView );

Now its possible to reset all views at once by calling reset:

MYAPP.viewManager.reset();

About

Provides a simple way to register Backbone views and to reset all views in one call

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published