Skip to content

drobbins/kanso-backbone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Kanso-Backbone

Backbone.js packaged as a Kanso module. See the test branch for example usage.

Install

Add modules to your dependencies section in kanso.json.

...
  "dependencies": {
    "backbone": null,
    ...
  }

Run kanso install to fetch the package.

Usage

(function($, Backbone) {
  // backbone can use any DOM library you like
  Backbone.setDomLibrary($);

  // use Backbone like a boss
  ...

  // use require if you use the jquery kanso module
  // or window.$ if you use the stock jQuery
})(require('jquery'), require('backbone'));

About

Backbone.js as a Kanso package. Modeled after the underscore package.

Resources

Stars

Watchers

Forks

Packages

No packages published