From d8273ef0c1d25bc9c6f318b82256a2bb1e006fe0 Mon Sep 17 00:00:00 2001 From: suVene Date: Sun, 7 Dec 2008 22:52:49 +0000 Subject: *libty.js bug fix. *それに伴うmulti_requester.jsの修正 *subject_test.js rename to subject_hatelabo_bottle.js(途中) *etc. git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/branches/1.2@26085 d0d07461-0603-4401-acd4-de1884942a52 --- multi_requester.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'multi_requester.js') diff --git a/multi_requester.js b/multi_requester.js index ee368d6..4ec0ee1 100644 --- a/multi_requester.js +++ b/multi_requester.js @@ -4,10 +4,10 @@ * @description request, and the result is displayed to the buffer. * @description-ja リクエストの結果をバッファに出力する。 * @author suVene suvene@zeromemory.info - * @version 0.4.2 + * @version 0.4.3 * @minVersion 1.2 * @maxVersion 1.2 - * Last Change: 07-Dec-2008. + * Last Change: 08-Dec-2008. * ==/VimperatorPlugin== * * HEAD COMMENT {{{ @@ -360,7 +360,7 @@ var MultiRequester = { try { - if (!res.isSuccess || res.responseText == '') throw 'response is fail or null'; + if (!res.isSuccess() || res.responseText == '') throw 'response is fail or null'; url = res.req.url; escapedUrl = liberator.util.escapeHTML(url); @@ -372,7 +372,7 @@ var MultiRequester = { return; } - doc = res.getHTMLDocument(xpath); + doc = res.getHTMLDocument(xpath, null, res.req.options.siteinfo.ignoreTags); if (!doc) throw 'XPath result is undefined or null.: XPath -> ' + xpath; html = '' + escapedUrl + '' + -- cgit v1.2.3