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.

Revisions

  1. Johnathan created this gist Jul 16, 2012.
    6 changes: 6 additions & 0 deletions gistfile1.coffee
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    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 )