projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b388d73
)
ux/FlipCounter.js
author
Alan Knowles
<alan@roojs.com>
Tue, 6 Dec 2016 03:46:47 +0000
(11:46 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 6 Dec 2016 03:46:47 +0000
(11:46 +0800)
ux/FlipCounter.js
patch
|
blob
|
history
diff --git
a/ux/FlipCounter.js
b/ux/FlipCounter.js
index
9f8d972
..
8c57925
100644
(file)
--- a/
ux/FlipCounter.js
+++ b/
ux/FlipCounter.js
@@
-40,6
+40,7
@@
Roo.extend(Roo.ux.FlipCounter, Roo.bootstrap.Component, {
cls: 'flipcounter',
};
+ },
init : function ()
{
@@
-51,9
+52,9
@@
Roo.extend(Roo.ux.FlipCounter, Roo.bootstrap.Component, {
{
this.addDigit(startNum[i]);
}
- }
;
+ }
,
-
FlipCounter.prototype.addDigit =
function (num) {
+
addDigit :
function (num) {
// Add separator after every 3rd digit
if (this.digits.length % 3 == 0 && this.digits.length != 0)
{