aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorteramako2010-10-24 18:38:31 +0900
committerteramako2010-10-24 18:38:31 +0900
commit6ccee1ee7bf69fb42415e62b2b8215c42bc843dc (patch)
tree88b54fbd72cd2eaf666925a48861a92bac6fa64c
parent7d63256c64e0d9118f92843f6e1fde7820d30ae0 (diff)
downloadvimperator-plugins-6ccee1ee7bf69fb42415e62b2b8215c42bc843dc.tar.bz2
[i_love_echo.js] supports DocumentFragment
-rw-r--r--i_love_echo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/i_love_echo.js b/i_love_echo.js
index 47fccd6..d104285 100644
--- a/i_love_echo.js
+++ b/i_love_echo.js
@@ -61,7 +61,7 @@ function $(arg){ //{{{
return new $e4x(arg);
} else if (arg instanceof Array){
return new $a(arg);
- } else if (arg instanceof Element || arg instanceof Document){
+ } else if (arg instanceof Element || arg instanceof Document || arg instanceof DocumentFragment){
return new $xml(arg);
} else if (typeof arg == "object"){
return new $o(arg);