3 ms·
I may have sorta kinda broke it completely. Game.score = []; for (var i = 0; i < 10000; ++i) { Game.score.push(String.fromCharCode(Math.floor(Math.r
by mischanix 13y ago
I may have sorta kinda broke it completely.
Game.score = [];
for (var i = 0; i < 10000; ++i) {
Game.score.push(String.fromCharCode(Math.floor(Math.random() * 65536)));
}
Game.score = Game.score.join('');
One of those random characters needs to be escaped in the javascript returned by firebase, but isn't.