Index: src/uri.js |
diff --git a/src/uri.js b/src/uri.js |
index 420078277eea6f5ebd8f5ece510b6c5681399a3d..f693ff2710f6260d61efc7445f679e923b695b2f 100644 |
--- a/src/uri.js |
+++ b/src/uri.js |
@@ -376,13 +376,13 @@ function URIEncodeComponent(component) { |
// Set up non-enumerable URI functions on the global object and set |
// their names. |
-InstallFunctions(global, DONT_ENUM, GlobalArray( |
- "escape", URIEscapeJS, |
- "unescape", URIUnescapeJS, |
- "decodeURI", URIDecode, |
- "decodeURIComponent", URIDecodeComponent, |
- "encodeURI", URIEncode, |
- "encodeURIComponent", URIEncodeComponent |
-)); |
+InstallFunctions(global, DONT_ENUM, [ |
+ "escape", URIEscapeJS, |
+ "unescape", URIUnescapeJS, |
+ "decodeURI", URIDecode, |
+ "decodeURIComponent", URIDecodeComponent, |
+ "encodeURI", URIEncode, |
+ "encodeURIComponent", URIEncodeComponent |
+]); |
})(); |