This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Overridden Ext.util.Format.fileSize for bigger sizes like GB and TB and support localized formats | |
* | |
* Simple format for a file size (xxx bytes, xxx KB, xxx MB, xxx GB, xxx TB) | |
* | |
* @param {Number/String} | |
* size The numeric value to format | |
* @return {String} The formatted file size | |
*/ | |
Ext.util.Format.fileSize = function(size, formatString) { |
NewerOlder