Index: src/uri.js |
=================================================================== |
--- src/uri.js (revision 2941) |
+++ src/uri.js (working copy) |
@@ -30,6 +30,11 @@ |
// Expect $String = global.String; |
+// Lazily initialized. |
+var hexCharArray = 0; |
+var hexCharCodeArray = 0; |
+ |
+ |
function URIAddEncodedOctetToBuffer(octet, result, index) { |
result[index++] = 37; // Char code of '%'. |
result[index++] = hexCharCodeArray[octet >> 4]; |
@@ -320,11 +325,6 @@ |
} |
-// Lazily initialized. |
-var hexCharArray = 0; |
-var hexCharCodeArray = 0; |
- |
- |
function HexValueOf(c) { |
var code = c.charCodeAt(0); |