From 69bfef0e654547d649af09aeecbc8dcf47c948e7 Mon Sep 17 00:00:00 2001 From: Gadi Cohen Date: Mon, 15 Dec 2014 18:02:47 +0200 Subject: [PATCH] v0.1.30 --- History.md | 19 ++++++++++++------- demo-base/client/views/Surface.html | 6 ++++-- package.js | 2 +- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/History.md b/History.md index 8b13c12..9adbdd9 100644 --- a/History.md +++ b/History.md @@ -1,5 +1,7 @@ ## vNEXT +## v0.1.30 + * ~~Fix some flicker that snuck back (use Engine.nextTick instead of .defer)~~ (not yet; was in some of the .rc releases) @@ -34,11 +36,13 @@ Document pattern to retrigger `true`-sized Surface size calculations. (#163) -* XXX finalize names before release - registerables: onRenderTree() callback (not used in the end) - views: postRender() callback (was only for modifiers until now) - surfaces: Template.x.onDocumentDom() callback - internal: when called with inclusion, store fview.template +* Registerables: onRenderTree() callback (not used for anything yet) + Views: postRender() callback (was only available for modifiers until now) + ~~Surfaces: Template.x.onDocumentDom() callback, but this is now the + default behaviour for .rendered() - so rather use that~~ + +* Internal: when called with inclusion, store a link to the used template + in `fview.template`. * `FView.from()` and `FView.fromBlazeView()` now return an fview on the given blazeView if it exists, and not only from it's ancestors. @@ -49,8 +53,9 @@ * For **Surfaces**, Template.x.rendered now runs after the template has been rendered *and added to the document*. This is later than before, but more in line with how Meteor does things and allows for more - intuitive use. XXX should get rid of Template.x.onDocumentDom and - store elsewhere before release. (#192) + intuitive use. E.g. jQuery plugins work better. Note, even though + `$()` will work here now, you should **always** use `this.$()` when + possible, for performance. (#192) * Start recording ChangeLog on View pages too (e.g. Surfaces, Views README) diff --git a/demo-base/client/views/Surface.html b/demo-base/client/views/Surface.html index 803cd5e..a9863c5 100644 --- a/demo-base/client/views/Surface.html +++ b/demo-base/client/views/Surface.html @@ -48,9 +48,11 @@ ### v0.1.30 * Template.x.rendered now runs after the template has - been rendered *and added to the document*. This is later than before, + been rendered **and added to the document**. This is later than before, but more in line with how Meteor does things and allows for more - intuitive use. + intuitive use. E.g. jQuery plugins work better. Note, even though + `$()` will work here now, you should **always** use `this.$()` when + possible, for performance. * Surfaces now store a `fview.surfaceBlazeView` for the blazeView used to render the Surface's contents. diff --git a/package.js b/package.js index 7ec1ae8..011ee61 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.30-rc.5", + version: "0.1.30", git: "https://github.com/gadicc/meteor-famous-views.git" });