From cc6d860ff13ec4ba88cd29b4182076c24539a99d 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/trunk@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 4a9b00d..0f3833f 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 2.0pre * @maxVersion 2.0pre - * Last Change: 07-Dec-2008. + * Last Change: 08-Dec-2008. * ==/VimperatorPlugin== * * HEAD COMMENT {{{ @@ -365,7 +365,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 = util.escapeHTML(url); @@ -377,7 +377,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