From 6ccee1ee7bf69fb42415e62b2b8215c42bc843dc Mon Sep 17 00:00:00 2001 From: teramako Date: Sun, 24 Oct 2010 18:38:31 +0900 Subject: [i_love_echo.js] supports DocumentFragment --- i_love_echo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i_love_echo.js') 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); -- cgit v1.2.3