add pretty-printers for byte-counts

This commit is contained in:
ansuz
2017-04-18 15:44:15 +02:00
parent 2a25afae5f
commit 2b8579e8b7
3 changed files with 11 additions and 5 deletions

View File

@@ -63,6 +63,8 @@ define([
var replaceHash = common.replaceHash = Util.replaceHash;
var getHash = common.getHash = Util.getHash;
var fixFileName = common.fixFileName = Util.fixFileName;
common.bytesToMegabytes = Util.bytesToMegabytes;
common.bytesToKilobytes = Util.bytesToKilobytes;
// import hash utilities for export
var createRandomHash = common.createRandomHash = Hash.createRandomHash;