summaryrefslogtreecommitdiff
path: root/client/button.js
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-06-28 14:47:08 +0300
committerYuval Adam <yuval@y3xz.com>2015-06-28 14:47:08 +0300
commit0d55aa1a4eddd05c5e649836ec51812b9efd6a60 (patch)
tree3619de05bfcd7a149247cd198b4b380c3aebe668 /client/button.js
parent871b89cdf5e0506842236b75947fd2df4747bb2f (diff)
Update step names
Diffstat (limited to 'client/button.js')
-rw-r--r--client/button.js14
1 files changed, 8 insertions, 6 deletions
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!<div class="sec">This is your icon!</div>');
$('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');