Skip to content

Instantly share code, notes, and snippets.

@techwraith
Created November 13, 2013 05:30
Show Gist options
  • Save techwraith/7444223 to your computer and use it in GitHub Desktop.
Save techwraith/7444223 to your computer and use it in GitHub Desktop.
window.$ = require('jquery-browserify')
var Switcher = require('ribcage-switcher')
var Base = require('ribcage-view')
var switcher = new Switcher({depth: 2, el: $('body')})
switcher.setPane(0, new Base({}))
switcher.setPane(1, new Base({}))
switcher.render()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment