projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e958b5
)
Roo/util/Format.js
author
john
<john@roojs.com>
Wed, 20 Jun 2018 03:30:38 +0000
(11:30 +0800)
committer
john
<john@roojs.com>
Wed, 20 Jun 2018 03:30:38 +0000
(11:30 +0800)
roojs-bootstrap.js
roojs-bootstrap-debug.js
Roo/util/Format.js
patch
|
blob
|
history
diff --git
a/Roo/util/Format.js
b/Roo/util/Format.js
index
25a1d4c
..
01c2343
100644
(file)
--- a/
Roo/util/Format.js
+++ b/
Roo/util/Format.js
@@
-194,6
+194,7
@@
Roo.util.Format = function(){
var r = /(\d+)(\d{3})/;
// add comma's
while (r.test(whole)) {
+ Roo.log('cannot be empty....');
whole = whole.replace(r, '$1' + thousandsDelimiter + '$2');
}