Show
Ignore:
Timestamp:
12/01/08 01:15:36 (6 weeks ago)
Author:
suVene
Message:

DocumentFlagmentからXPath取れるようにするまでとりあえず

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/vimperator-plugins/branches/1.2/multi_requester.js

    r25308 r25481  
    55 * @description-ja   リクエストの結果をバッファに出力する。 
    66 * @author           suVene suvene@zeromemory.info 
    7  * @version          0.3.0 
     7 * @version          0.3.1 
    88 * @minVersion       1.2 
    99 * @maxVersion       1.2 
    10  * Last Change:      29-Nov-2008. 
     10 * Last Change:      01-Dec-2008. 
    1111 * ==/VimperatorPlugin== 
    1212 * 
     
    377377        range.detach(); 
    378378        var dom = fragment.lastChild; 
    379         if (dom.tagName == 'parserError' || dom.namespaceURI == 'http://www.mozilla.org/newlayout/xml/parsererror.xml') { 
     379        if (dom.tagName == 'parserError' || dom.namespaceURI == 'http://www.mozilla.org/newlayout/xml/parsererror.xml' || fragment instanceof DocumentFragment) { 
    380380            $U.log('retry parsing.'); 
    381381            return this._createHTMLDocument2(str);