Skip to content

Commit

Permalink
progress-circular dummy app: Restore previous behavior inadvertently …
Browse files Browse the repository at this point in the history
…commented out.
  • Loading branch information
DanChadwick committed May 5, 2016
1 parent 00d5e3c commit 70ed988
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/dummy/app/controllers/progress-circular.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ export default Controller.extend({
timer: null,

start() {
this.set('determinateValue', 10);
this.set('determinateValue', 30);
this.setupTimer();
},

setupTimer() {
this.set('timer', run.later(this, function() {
// let value = this.incrementProperty('determinateValue', 1);
// if (value > 100) {
// this.set('determinateValue', 30);
// }
// this.setupTimer();
let value = this.incrementProperty('determinateValue', 1);
if (value > 100) {
this.set('determinateValue', 30);
}
this.setupTimer();
}, 100));
},

Expand Down

0 comments on commit 70ed988

Please sign in to comment.