Fix #6913 - add more documentation to code
[roojs1] / Roo / util / Format.js
index dd9c0dc..6c9b888 100644 (file)
@@ -12,7 +12,7 @@
 /**
  * @class Roo.util.Format
  * Reusable data formatting functions
- * @singleton
+ * @static
  */
 Roo.util.Format = function(){
     var trimRe = /^\s+|\s+$/g;
@@ -260,7 +260,7 @@ Roo.util.Format = function(){
                 return 0;
             }
             var i = parseInt(Math.floor(Math.log(value) / Math.log(1024)));
-            return Roo.util.Format.number(value/ Math.pow(1024, i) ,decimals) + ' ' + sizes[i];
+            return Roo.util.Format.number(value/ Math.pow(1024, i) ,decimals)   + sizes[i];
         }