From e5dbe81ac1f88b23b666c8841762b51189024a1a Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Tue, 13 Oct 2015 08:22:00 +0200 Subject: [PATCH] Added fast render support to routes which have subscriptions Closes #18 --- rpg-docs/.meteor/packages | 1 + rpg-docs/.meteor/versions | 4 ++++ rpg-docs/Routes/Routes.js | 3 +++ 3 files changed, 8 insertions(+) diff --git a/rpg-docs/.meteor/packages b/rpg-docs/.meteor/packages index 1a814021..8ad1e8aa 100644 --- a/rpg-docs/.meteor/packages +++ b/rpg-docs/.meteor/packages @@ -42,3 +42,4 @@ spacebars check useraccounts:iron-routing wizonesolutions:canonical +meteorhacks:fast-render diff --git a/rpg-docs/.meteor/versions b/rpg-docs/.meteor/versions index 3ff621d4..5995bd10 100644 --- a/rpg-docs/.meteor/versions +++ b/rpg-docs/.meteor/versions @@ -19,6 +19,7 @@ caching-compiler@1.0.0 caching-html-compiler@1.0.2 callback-hook@1.0.4 check@1.0.6 +chuangbo:cookie@1.1.0 chuangbo:marked@0.3.5_1 coffeescript@1.0.10 dburles:collection-helpers@1.0.3 @@ -62,8 +63,11 @@ logging@1.0.8 matb33:collection-hooks@0.8.1 meteor@1.1.9 meteor-base@1.0.1 +meteorhacks:fast-render@2.10.0 +meteorhacks:inject-data@1.4.1 meteorhacks:kadira@2.23.4 meteorhacks:meteorx@1.3.1 +meteorhacks:picker@1.0.3 meteorhacks:subs-manager@1.6.2 minifiers@1.1.7 minimongo@1.0.10 diff --git a/rpg-docs/Routes/Routes.js b/rpg-docs/Routes/Routes.js index 31b11fda..f3fe9fdd 100644 --- a/rpg-docs/Routes/Routes.js +++ b/rpg-docs/Routes/Routes.js @@ -34,6 +34,7 @@ Router.map(function() { onAfterAction: function() { document.title = appName; }, + fastRender: true, }); this.route("characterSheet", { @@ -63,6 +64,7 @@ Router.map(function() { window.ga && window.ga("send", "pageview", "/character"); this.next(); }, + fastRender: true, }); this.route("loading", { @@ -91,6 +93,7 @@ Router.map(function() { onAfterAction: function() { document.title = appName; }, + fastRender: true, }); this.route("/guide", {