1
0
Fork 0
forked from 0x2620/oxjs

fix semicolons

This commit is contained in:
rolux 2014-08-19 10:19:59 +02:00
commit 1b90cc6ac8
12 changed files with 38 additions and 38 deletions

View file

@ -43,7 +43,7 @@
String(string).split('').forEach(function(char) {
binary += Ox.pad(char.charCodeAt(0).toString(2), 'left', 8, '0');
});
binary = Ox.pad(binary, Math.ceil(binary.length / 6) * 6, '0')
binary = Ox.pad(binary, Math.ceil(binary.length / 6) * 6, '0');
while (binary) {
ret += chars[parseInt(binary.slice(0, 6), 2)];
binary = binary.slice(6);
@ -206,7 +206,7 @@
return '"' + value.split('').map(function(char) {
return replace[char] || char;
}).join('') + '"';
};
}
return {
parse: function parse(string) {
return eval('(' + string + ')');
@ -427,4 +427,4 @@
}
}
})(this);
}(this));