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

Latest commit

 

History

History
39 lines (22 loc) · 1.11 KB

README.md

File metadata and controls

39 lines (22 loc) · 1.11 KB

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