diff --git a/packages/shifty/package.json b/packages/shifty/package.json index 6e25461..d83bedb 100644 --- a/packages/shifty/package.json +++ b/packages/shifty/package.json @@ -2,9 +2,9 @@ "name": "shifty", "summary": "shifty", "description": "shifty", - "homepage": "", - "author": "", - "version": "0.2", + "homepage": "https://github.com/jeremyckahn/shifty/blob/master/README.md", + "author": "Jeremy Kahn", + "version": "0.4.1", "dependencies": { } diff --git a/packages/sproutcore-ui/lib/mixins/layout_support.js b/packages/sproutcore-ui/lib/mixins/layout_support.js index 3cd5d4f..49734e0 100644 --- a/packages/sproutcore-ui/lib/mixins/layout_support.js +++ b/packages/sproutcore-ui/lib/mixins/layout_support.js @@ -37,24 +37,24 @@ var get = SC.get; with a third view filling out the remaining space for content. In that case, your handlebars template will look like this: - {{#view MyApp.containerView}} - {{#view MyApp.topToolbarView anchorTo="top" size="50"}} + {{#view MyApp.ContainerView}} + {{#view MyApp.TopToolbarView anchorTo="top" size="50"}} {{/view}} - {{#view MyApp.contentAreaView anchorTo="remainingSpace"}} + {{#view MyApp.ContentAreaView anchorTo="remainingSpace"}} {{/view}} - {{#view MyApp.bottomToolbarView anchorTo="bottom" size="50"}} + {{#view MyApp.BottomToolbarView anchorTo="bottom" size="50"}} {{/view}} {{/view}} And your application's javascript file will be look like so: - MyApp.containerView = SC.View.create(UI.LayoutSupport,{...}); - MyApp.topToolbarView = SC.View.create(UI.LayoutSupport,{...}); - MyApp.contentAreaView = SC.View.create(UI.LayoutSupport,{...}); - MyApp.bottomToolbarView = SC.View.create(UI.LayoutSupport,{...}); + MyApp.ContainerView = SC.View.extend(UI.LayoutSupport,{...}); + MyApp.TopToolbarView = SC.View.extend(UI.LayoutSupport,{...}); + MyApp.ContentAreaView = SC.View.extend(UI.LayoutSupport,{...}); + MyApp.BottomToolbarView = SC.View.extend(UI.LayoutSupport,{...}); Notes: -------- diff --git a/packages/sproutcore-ui/package.json b/packages/sproutcore-ui/package.json index 0749d6c..2714479 100644 --- a/packages/sproutcore-ui/package.json +++ b/packages/sproutcore-ui/package.json @@ -8,7 +8,7 @@ "dependencies": { "spade": "~> 1.0.0", - "sproutcore": "2.0.beta.2.pre" + "sproutcore": "2.0.beta.2" }, "dependencies:development": {