From d484f79ddacc97155dc822fb5c38f774233419ee Mon Sep 17 00:00:00 2001 From: Oliver Wegner Date: Wed, 29 Apr 2015 18:16:55 +0200 Subject: [PATCH] added iron:layout as dependency to pattern-library package --- client/meteor-skeleton.html | 67 ++++++++++---------- packages/pattern-library/package.js | 2 +- packages/pattern-library/pages/gridpage.html | 6 +- 3 files changed, 37 insertions(+), 38 deletions(-) diff --git a/client/meteor-skeleton.html b/client/meteor-skeleton.html index 311e8ea..730e404 100644 --- a/client/meteor-skeleton.html +++ b/client/meteor-skeleton.html @@ -1,42 +1,41 @@ + - +{{# Layout template="gridpage" }} - + {{# contentFor "header" }} + + {{/ contentFor }} - + +
+ + + +
+ - + {{# contentFor "footer" }} + xxxxxxxxxxxxxxx + {{/ contentFor }} -{{> gridpage header="myHeader" body="myBody" footer="myFooter" }} +{{/ Layout }} diff --git a/packages/pattern-library/package.js b/packages/pattern-library/package.js index 35b87fa..e912b64 100644 --- a/packages/pattern-library/package.js +++ b/packages/pattern-library/package.js @@ -14,7 +14,7 @@ Package.onUse(function(api) { api.versionsFrom('1.1.0.2'); api.addFiles('pattern-library.js'); - api.use(['templating'], 'client'); + api.use(['templating', 'iron:layout'], 'client'); api.addFiles(['pages/gridpage.html'], 'client'); }); diff --git a/packages/pattern-library/pages/gridpage.html b/packages/pattern-library/pages/gridpage.html index 91cf957..4f7e642 100644 --- a/packages/pattern-library/pages/gridpage.html +++ b/packages/pattern-library/pages/gridpage.html @@ -1,9 +1,9 @@