Skip to content

Commit 326e4f4

Browse files
committed
Really, this time...
1 parent 41901ec commit 326e4f4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

debug/filesize.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* filesize.js
3030
*
3131
* @author Jason Mulligan <[email protected]>
32-
* @version 1.2
32+
* @version 1.3
3333
*/
3434
(function (window) {
3535
"use strict";
@@ -69,5 +69,5 @@
6969
};
7070

7171
// AMD support
72-
typeof define === "function" ? define("filesize", function () { return filesize; }) : window.filesize = filesize;
72+
typeof define === "function" ? define("filesize", filesize) : window.filesize = filesize;
7373
})(window);

production/filesize.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
* filesize.js
3030
*
3131
* @author Jason Mulligan <[email protected]>
32-
* @version 1.2
32+
* @version 1.3
3333
*/
34-
(function(a){"use strict";var b=function(a,b){var c=String(a).indexOf(".")>-1?parseFloat(a):parseInt(a),d=[{B:0},{KB:1024},{MB:1048576},{GB:1073741824},{TB:1099511627776}],e=d.length,f="",g,h,i,j;b=typeof b=="undefined"?2:parseInt(b);while(e--){j=d[e];for(i in j)if(j.hasOwnProperty(i)){g=j[i],h=i;break}if(c>=g){f=(h==="B"?c:(c/g).toFixed(b))+h;break}}return f};typeof define=="function"?define("filesize",function(){return b}):a.filesize=b})(window)
34+
(function(a){"use strict";var b=function(a,b){var c=String(a).indexOf(".")>-1?parseFloat(a):parseInt(a),d=[{B:0},{KB:1024},{MB:1048576},{GB:1073741824},{TB:1099511627776}],e=d.length,f="",g,h,i,j;b=typeof b=="undefined"?2:parseInt(b);while(e--){j=d[e];for(i in j)if(j.hasOwnProperty(i)){g=j[i],h=i;break}if(c>=g){f=(h==="B"?c:(c/g).toFixed(b))+h;break}}return f};typeof define=="function"?define("filesize",b):a.filesize=b})(window)

0 commit comments

Comments
 (0)