Skip to content

Instantly share code, notes, and snippets.

@Johnathan
Created July 16, 2012 16:03
Show Gist options
  • Select an option

  • Save Johnathan/3123514 to your computer and use it in GitHub Desktop.

Select an option

Save Johnathan/3123514 to your computer and use it in GitHub Desktop.
define [ "jquery", "underscore", "backbone", "vm", "text!templates/plan/sidebar.html", "handlebars", "views/plan/plan", "views/plan/tasks" ], ($, _, Backbone, Vm, sidebarTemplate, Handlebars, planView, taskView) ->
class SidebarView extends Backbone.View
initialize: (options) =>
@options = options
@plan_model = options.plan_model
@planView = new planView( options )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment