From 19acabbf268fea67d75e74cbb72b2f7153af0135 Mon Sep 17 00:00:00 2001 From: Jeremy Kahn Date: Tue, 19 Jul 2011 05:39:31 -0700 Subject: [PATCH 1/3] Updated some labels for the Shifty package. --- packages/shifty/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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": { } From eff56ace14b4bed16e7be742fb2d676e68488010 Mon Sep 17 00:00:00 2001 From: Thomas Bartelmess Date: Thu, 21 Jul 2011 12:20:12 +0200 Subject: [PATCH 2/3] Updated Sproutcore version to 2.0.beta.2 --- packages/sproutcore-ui/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": { From 4934218ebb407ec37120cf3835fa8a1151505c15 Mon Sep 17 00:00:00 2001 From: Majd Taby Date: Fri, 26 Aug 2011 14:58:56 -0700 Subject: [PATCH 3/3] Fix usage instructions to use classes, not instances --- .../sproutcore-ui/lib/mixins/layout_support.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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: --------