summaryrefslogtreecommitdiff
path: root/deps/v8/src/uri.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-04-14 10:34:17 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-04-14 10:34:27 -0700
commit41ef1717e096a9e1761efa0df97c395f59c51f16 (patch)
tree7e854284ef8ce5189a63074857a408b6eea5a9cb /deps/v8/src/uri.js
parent760bba55186eba039ca00e532f7813d2aea450a2 (diff)
downloadnode-new-41ef1717e096a9e1761efa0df97c395f59c51f16.tar.gz
Upgrade V8 to 2.2.3.1
Diffstat (limited to 'deps/v8/src/uri.js')
-rw-r--r--deps/v8/src/uri.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/deps/v8/src/uri.js b/deps/v8/src/uri.js
index 5af71b6826..3adab83d87 100644
--- a/deps/v8/src/uri.js
+++ b/deps/v8/src/uri.js
@@ -244,7 +244,7 @@ function URIDecode(uri) {
if (cc == 61) return true;
// ?@
if (63 <= cc && cc <= 64) return true;
-
+
return false;
};
var string = ToString(uri);
@@ -268,7 +268,7 @@ function isAlphaNumeric(cc) {
if (65 <= cc && cc <= 90) return true;
// 0 - 9
if (48 <= cc && cc <= 57) return true;
-
+
return false;
}
@@ -293,7 +293,7 @@ function URIEncode(uri) {
if (cc == 95) return true;
// ~
if (cc == 126) return true;
-
+
return false;
};
@@ -316,7 +316,7 @@ function URIEncodeComponent(component) {
if (cc == 95) return true;
// ~
if (cc == 126) return true;
-
+
return false;
};
@@ -327,14 +327,14 @@ function URIEncodeComponent(component) {
function HexValueOf(c) {
var code = c.charCodeAt(0);
-
+
// 0-9
if (code >= 48 && code <= 57) return code - 48;
// A-F
if (code >= 65 && code <= 70) return code - 55;
// a-f
if (code >= 97 && code <= 102) return code - 87;
-
+
return -1;
}