From 921b95c4ab07510b97231d021900cc8c65461380 Mon Sep 17 00:00:00 2001 From: Satya Pramodh Date: Sat, 7 Nov 2015 16:40:03 +0530 Subject: [PATCH 1/3] added custom modal class --- helpers.coffee | 6 ++++++ templates.html | 4 ++-- tutorial.coffee | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/helpers.coffee b/helpers.coffee index 1dc3c0a..293e72b 100644 --- a/helpers.coffee +++ b/helpers.coffee @@ -48,6 +48,12 @@ Template.tutorial.helpers # This function is reactive; the above will run whenever the context changes return @currentTemplate() + modalClass: -> + return @currentModalClass + + spotlightClass: -> + return @currentSpotlightClass + Template._tutorial_buttons.events = "click .action-tutorial-back": -> @prev() "click .action-tutorial-next": -> @next() diff --git a/templates.html b/templates.html index 8b73f4e..87eeb18 100644 --- a/templates.html +++ b/templates.html @@ -1,8 +1,8 @@