diff options
author | teramako | 2010-10-24 18:38:31 +0900 |
---|---|---|
committer | teramako | 2010-10-24 18:38:31 +0900 |
commit | 6ccee1ee7bf69fb42415e62b2b8215c42bc843dc (patch) | |
tree | 88b54fbd72cd2eaf666925a48861a92bac6fa64c | |
parent | 7d63256c64e0d9118f92843f6e1fde7820d30ae0 (diff) | |
download | vimperator-plugins-6ccee1ee7bf69fb42415e62b2b8215c42bc843dc.tar.bz2 |
[i_love_echo.js] supports DocumentFragment
-rw-r--r-- | i_love_echo.js | 2 |
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); |