mirror of
https://github.com/robertkrimen/otto
synced 2025-10-26 20:28:49 +08:00
Make encodeURI correspond to the 15.1.3.3 algorithm and encodeURIComponent ito 15.1.3.4
This commit is contained in:
@@ -708,8 +708,8 @@ func newContext() *_runtime {
|
||||
"isFinite", -1, builtinGlobal_isFinite,
|
||||
"decodeURI", -1, builtinGlobal_decodeURI,
|
||||
"decodeURIComponent", -1, builtinGlobal_decodeURIComponent,
|
||||
"encodeURI", builtinGlobal_encodeURI,
|
||||
"encodeURIComponent", builtinGlobal_encodeURIComponent,
|
||||
"encodeURI", -1, builtinGlobal_encodeURI,
|
||||
"encodeURIComponent", -1, builtinGlobal_encodeURIComponent,
|
||||
"escape", builtinGlobal_escape,
|
||||
"unescape", builtinGlobal_unescape,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user