mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Merge pull request #3641 from tamagokun/patch-1
Update Tiled Base64Decode function
This commit is contained in:
commit
d1479b6f23
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ var Base64Decode = function (data)
|
|||
{
|
||||
var binaryString = window.atob(data);
|
||||
var len = binaryString.length;
|
||||
var bytes = new Array(len);
|
||||
var bytes = new Array(len / 4);
|
||||
|
||||
// Interpret binaryString as an array of bytes representing little-endian encoded uint32 values.
|
||||
for (var i = 0; i < len; i += 4)
|
||||
|
|
Loading…
Reference in a new issue