|
|
| version 1.167, 2008/07/21 07:37:37 | version 1.168, 2008/07/22 13:11:38 |
|---|---|
| Line 739 MString::MString(): Methoded("string") { | Line 739 MString::MString(): Methoded("string") { |
| // ^string:base64[encoded string] << decode | // ^string:base64[encoded string] << decode |
| add_native_method("base64", Method::CT_ANY, _base64, 0, 1); | add_native_method("base64", Method::CT_ANY, _base64, 0, 1); |
| // ^string.escape[] | // ^string.js-escape[] |
| // ^string:unescape[escaped%uXXXXstring] | // ^string:js-unescape[escaped%uXXXXstring] |
| add_native_method("escape", Method::CT_ANY, _escape, 0, 0); | add_native_method("js-escape", Method::CT_ANY, _escape, 0, 0); |
| add_native_method("unescape", Method::CT_STATIC, _unescape, 1, 1); | add_native_method("js-unescape", Method::CT_STATIC, _unescape, 1, 1); |
| } | } |