OSDN Git Service

Version 0.6.165, fix Node.prototype.kill.
[pettanr/clientJs.git] / 0.6.x / js / 01_core / 00_builtin.js
index 2582d1e..17b1dc3 100644 (file)
@@ -157,9 +157,9 @@ var _builtin_skipEncodeURI = (function(){
 })();\r
 \r
 // /[^!#$&-;=?-Z_a-z~]/g\r
-window.encodeURI || (window.encodeURI = function( x ){ return _builtin_encodeURI( x, 0 ); });\r
+window[ 'encodeURI' ] || (window[ 'encodeURI' ] = function( x ){ return _builtin_encodeURI( x, 0 ); });\r
 // /[^!'-*.0-9A-Z_a-z~-]/g\r
-window.encodeURIComponent || (window.encodeURIComponent = function( x ){ return _builtin_encodeURI( x, 1 ); });\r
+window[ 'encodeURIComponent' ] || (window[ 'encodeURIComponent' ] = function( x ){ return _builtin_encodeURI( x, 1 ); });\r
 \r
 function _builtin_encodeURI( x, kind ){\r
        var result = [],\r
@@ -227,8 +227,8 @@ function _builtin_decodeURI( x ){
        return result.join( '' );\r
 };\r
 \r
-window.decodeURI || (window.decodeURI = _builtin_decodeURI);\r
-window.decodeURIComponent || (window.decodeURIComponent = window.decodeURI);\r
+window[ 'decodeURI' ] || (window[ 'decodeURI' ] = _builtin_decodeURI);\r
+window[ 'decodeURIComponent' ] || (window[ 'decodeURIComponent' ] = window.decodeURI);\r
 \r
 \r
 /*\r