From eb12ed03a36448954eb040cbb945f29d5e0d0804 Mon Sep 17 00:00:00 2001 From: Chris Hitchcott Date: Sat, 12 Jul 2014 16:55:36 +0800 Subject: [PATCH] Compatibility with Metoer 8.2.0 and iron-router update for blaze --- .meteor/packages | 1 - .meteor/release | 2 +- reveal-demo.coffee | 4 ++-- reveal-demo.html | 8 +++++--- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.meteor/packages b/.meteor/packages index e4655ab..f58a922 100644 --- a/.meteor/packages +++ b/.meteor/packages @@ -6,7 +6,6 @@ standard-app-packages autopublish insecure -preserve-inputs reveal-js coffeescript iron-router diff --git a/.meteor/release b/.meteor/release index faef31a..100435b 100644 --- a/.meteor/release +++ b/.meteor/release @@ -1 +1 @@ -0.7.0 +0.8.2 diff --git a/reveal-demo.coffee b/reveal-demo.coffee index c8b0337..dc82533 100644 --- a/reveal-demo.coffee +++ b/reveal-demo.coffee @@ -1,6 +1,6 @@ if Meteor.isClient - Router.configure autoRender: false + Router.configure layoutTemplate: 'revealLayout' Router.map -> @route 'home', path: '/' @@ -12,7 +12,7 @@ if Meteor.isClient Template.menu.rendered = -> $('.ui.dropdown') .dropdown() - Router.load -> # Change theme/transition using links params (eg. ) + Router.onRun -> # Change theme/transition using links params (eg. ) Reveal.configure theme: theme if theme=this.params.theme Reveal.configure transition: transition if transition=this.params.transition diff --git a/reveal-demo.html b/reveal-demo.html index 8e128cf..3257502 100644 --- a/reveal-demo.html +++ b/reveal-demo.html @@ -6,15 +6,17 @@ - + + +