avoidwork / filesize.js

JavaScript library to generate a human readable String describing the file size
https://filesizejs.com
BSD 3-Clause "New" or "Revised" License
1.61k stars 97 forks source link

Intro.js code broken #70

Closed Pavel910 closed 8 years ago

Pavel910 commented 8 years ago

The intro.js code is broken - missing }); at the end of file.

(function (global) {
const b = /^(b|B)$/;
const si = {
    bits: ["b", "kb", "Mb", "Gb", "Tb", "Pb", "Eb", "Zb", "Yb"],
    bytes: ["B", "kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"]
};
Pavel910 commented 8 years ago

Just realized you are joining 3 files into the final build. I don't understand why it didn;t work after gulp build since you are pointing to correct main file in bower.json. Forget this issue. Cheers.

avoidwork commented 8 years ago

Is there a way to recreate this issue? It may be the path of the lib, but I'm not sure since I don't use bower.

Pavel910 commented 8 years ago

Everything works, I guess it was a problem in my gulp and bower files parsing. Sorry for bothering you :)

avoidwork commented 8 years ago

:+1: np