-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UXUI-284 Countdown Component #52
Conversation
Taking SE |
Taking Dev |
var pad = function (number) { | ||
number = Math.abs(Math.floor(number)); | ||
if (number > 9) { | ||
return number; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be returning a string so that the output of this function is a consistent type. i.e return '' + number;
this.CountdownManager.start(this.callback); | ||
this.timer.tick(CountdownManager.countdownInterval); | ||
assert.equal(this.callback.called, true); | ||
// expect(this.callback.called).to.be(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this?
|
I'm happy with this once the above comments have been addressed. Also should the lozenge work be in this PR or should it be in a separate PR? |
+1 |
Just one minor point, the references to |
👍 Looks good dude |
UXUI-284 Countdown Component
What does this PR do? (please provide any background)
What tests does this PR have?
npm test
How can be this tested?
grunt docs
from a local copy.code
on the docs and change the date to whatever you see fit.Screenshots / Screencast
![screen shot 2015-08-03 at 12 13 04](https://cloud.githubusercontent.com/assets/778942/9036382/03b9367c-39d9-11e5-8262-4dba2aa14485.png)
#### What gif best describes how you feel about this work?Developer Definition of Done/Quality Checklist (for PR author to complete BEFORE code review):
Software Engineer or Developer review:
Software Engineer or project guru review: