MCPcopy Index your code
hub / github.com/mailru/FileAPI / _SIZE_CONST

Function _SIZE_CONST

lib/FileAPI.core.js:55–59  ·  view source on GitHub ↗
(pow)

Source from the content-addressed store, hash-verified

53 Math = window.Math,
54
55 _SIZE_CONST = function (pow){
56 pow = new window.Number(Math.pow(1024, pow));
57 pow.from = function (sz){ return Math.round(sz * this); };
58 return pow;
59 },
60
61 _elEvents = {}, // element event listeners
62 _infoReader = [], // list of file info processors

Callers 1

FileAPI.core.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected