aboutsummaryrefslogtreecommitdiffstats
path: root/i_love_echo.js
diff options
context:
space:
mode:
Diffstat (limited to 'i_love_echo.js')
-rw-r--r--i_love_echo.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/i_love_echo.js b/i_love_echo.js
index bbf886b..31ea2fa 100644
--- a/i_love_echo.js
+++ b/i_love_echo.js
@@ -13,7 +13,7 @@
* * 各メソッドやgetterは常にvalue(またはxhr)メンバを持つObject
* * メソッドやgetterはvalue値に相応しいメソッドまたはgetterである
*
- *
+ *
* Example:
* 1 2 3 4 5 6 7 8
* :echo $x("http://d.hatena.ne.jp/teramako/rss").open().send().xml.toObject.get("item").map(function(item) item.title).value
@@ -129,6 +129,9 @@ $c.prototype = {
},
toString: function(){
return this.value.toString();
+ },
+ __noSuchMethod__: function(name, args){
+ return this.value[name].apply(this.value, args);
}
};
// }}}