Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.
/ backtree Public archive

Tree component for Backbone.js using nested Backbone collections and models, to build a Backbone View of the tree.

License

Notifications You must be signed in to change notification settings

timc3/backtree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backtree.js - Archived


This project has now been archived and I don't suggest using it any more

Is a tree component that uses Backbone.js for building a tree naviation system based on Backbone nested collections.

Overview

Nested collections can be easily navigated using a Tree component, and this is an opinionated tree to do just that. It doesn't currently show models in the tree view.

Inspiration was gathered from Backgrid by Jimmy Yuen Ho Wong and Marionette by Derick Bailey, particular the use of composite views.

Supported browsers

It might well work on more browsers than the following but I will only test with a subset of all browsers

  • Internet Explorer 9+
  • Safari 6+
  • Chrome 22+
  • Firefox 18+

For IE8 and above you should use a shim for HTML5 tag support

Requirements

  • JQuery >= 1.7.2
  • Underscore 1.4.3 or LoDash with Underscore 1.0.0-rc.3
  • Backbone.js == 0.9.10
  • Backbone Babysitter == 0.1.4

It also currently requires a Javascript PubSub implementation (Included is a modified version of pubsub.js).

Test & Develop

Run test/index.html

About

Tree component for Backbone.js using nested Backbone collections and models, to build a Backbone View of the tree.

Resources

License

Stars

Watchers

Forks

Packages

No packages published