Skip to content

Instantly share code, notes, and snippets.

@lxcodes
Created November 30, 2011 16:59
Show Gist options
  • Save lxcodes/1409805 to your computer and use it in GitHub Desktop.
Save lxcodes/1409805 to your computer and use it in GitHub Desktop.

Revisions

  1. Alexander created this gist Nov 30, 2011.
    3 changes: 3 additions & 0 deletions followup.handlebars
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    <div>
    Hello, <b>{{text}}</b>!
    </div>
    12 changes: 12 additions & 0 deletions main_page.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    mainPane: SC.MainPane.design({
    childViews: ['mainToolbar','followUp'],

    mainToolbar: SC.ToolbarView.design({
    ...
    }),

    followUp: SC.TemplateView.create({
    templateName: 'followup',
    text: "world"
    })
    })