From 0d55aa1a4eddd05c5e649836ec51812b9efd6a60 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Sun, 28 Jun 2015 14:47:08 +0300 Subject: Update step names --- client/button.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'client/button.js') diff --git a/client/button.js b/client/button.js index cdeed52..bda2afc 100644 --- a/client/button.js +++ b/client/button.js @@ -102,9 +102,6 @@ function animate2() { delay += 2000; _.delay(function() { - $('li#step6').removeClass('active'); - $('li#step7').addClass('active'); - Effects.drawFinalIcon(); }, delay + 2000); @@ -112,8 +109,6 @@ function animate2() { delay += 2000; _.delay(function() { - $('li#step7').removeClass('active'); - $('li#step8').addClass('active'); $('h2.title').html('Done!
This is your icon!
'); $('div.final div.final-dominants').hide(); $('div.final div.share').show(); @@ -207,7 +202,14 @@ Template.photos.events({ Template.photos.helpers({ steps: function () { - return _.range(1,9); + return [ + {val: 1, name: 'Downloading'}, + {val: 2, name: 'Pixelate'}, + {val: 3, name: 'Composition'}, + {val: 4, name: 'Dominant Color'}, + {val: 5, name: 'Average'}, + {val: 6, name: 'Summing'} + ] }, photos: function () { return Session.get('photos'); -- cgit v1.3.1