Merge from master + bugfixing on b64

This commit is contained in:
jdescottes
2013-08-10 14:47:26 +02:00
42 changed files with 2259 additions and 2223 deletions

View File

@ -16,7 +16,7 @@
//import flash.net.URLRequest;
//import flash.net.navigateToURL;
GIFEncoder = function()
window.GIFEncoder = function()
{
for(var i = 0, chr = {}; i < 256; i++)
chr[i] = String.fromCharCode(i);

View File

@ -1,4 +1,4 @@
function encode64(input) {
window.encode64 = function(input) {
var output = "", i = 0, l = input.length,
key = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
chr1, chr2, chr3, enc1, enc2, enc3, enc4;
@ -15,4 +15,4 @@ function encode64(input) {
output = output + key.charAt(enc1) + key.charAt(enc2) + key.charAt(enc3) + key.charAt(enc4);
}
return output;
}
};