From 1661050798de8575469c495f2636ec07d1e9c631 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Sat, 22 Nov 2014 17:06:06 +0200 Subject: [PATCH] v0.1.28; famousContext/famousInit regression fix (#151) --- History.md | 4 +++- demo-famono/.meteor/versions | 2 +- lib/meteorFamousView.js | 4 ++-- package.js | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/History.md b/History.md index a664fc4..ee38202 100644 --- a/History.md +++ b/History.md @@ -1,5 +1,7 @@ ## vNEXT +## v0.1.28 + * Fix regression with auto-famousContext and queue node added to famousContext until it's really ready. @@ -509,4 +511,4 @@ be deprecated in the future) This was the code available when the announcement on meteor-talk was made. This release is dedicated to raix, for his Famono package, and his super fast -resolution of every issue I raised for it on github :) \ No newline at end of file +resolution of every issue I raised for it on github :) diff --git a/demo-famono/.meteor/versions b/demo-famono/.meteor/versions index 3c52c33..b473f78 100644 --- a/demo-famono/.meteor/versions +++ b/demo-famono/.meteor/versions @@ -17,7 +17,7 @@ deps@1.0.5 ejson@1.0.4 fastclick@1.0.1 follower-livedata@1.0.2 -gadicohen:famous-views@0.1.28-rc.1 +gadicohen:famous-views@0.1.28 gadicohen:fview-lagometer@1.0.2 gadicohen:prism@1.0.3 gadicohen:snippets@0.0.4-pre.1 diff --git a/lib/meteorFamousView.js b/lib/meteorFamousView.js index f8f00c5..c8901d9 100644 --- a/lib/meteorFamousView.js +++ b/lib/meteorFamousView.js @@ -41,10 +41,10 @@ MeteorFamousView = function(blazeView, options, noAdd) { */ if (FView.mainCtx !== null) { var view = FView.famousContext.constructView(); - var wrapped = Blaze.With({ id:"mainCtx", style:"" }, + var wrapped = Blaze.With({ id:"mainCtx" }, function() { return view; }); wrapped.__isTemplateWith = true; - // Because of id:mainCtx, this populate FView.mainCtxFView + // Because of id:mainCtx, this populates FView.mainCtxFView Blaze.render(wrapped, document.body); } parent = FView.mainCtxFView; diff --git a/package.js b/package.js index a9d0c33..f64e76e 100644 --- a/package.js +++ b/package.js @@ -1,7 +1,7 @@ Package.describe({ name: "gadicohen:famous-views", summary: 'Blaze Views for Famous; doing Famous Meteor-style', - version: "0.1.28-rc.1", + version: "0.1.28", git: "https://github.com/gadicc/meteor-famous-views.git" });