Permalink
Browse files

Merge pull request #29 from ctavan/master

Global leak
  • Loading branch information...
2 parents 0252825 + 2dd462d commit 9585d57ca92127eb32e331d3592c2366e669b0d1 @felixge committed Oct 31, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/dep/base64.js
View
@@ -1,5 +1,8 @@
/* adapted by Jed Schmidt for use as a node.js module */
+var base64EncodeChars;
+var base64DecodeChars;
+
this.encode = base64encode;
this.decode = base64decode;
this.chars = function( string ) {
@@ -107,4 +110,4 @@ function base64decode( str ) {
out += String.fromCharCode(((c3 & 0x03) << 6) | c4);
}
return out;
-}
+}

0 comments on commit 9585d57

Please sign in to comment.