diff options
author | suVene | 2008-12-07 22:52:49 +0000 |
---|---|---|
committer | suVene | 2008-12-07 22:52:49 +0000 |
commit | cc6d860ff13ec4ba88cd29b4182076c24539a99d (patch) | |
tree | 7fb94c8e50e3d3e0d818500dac38c2365191e9aa /multi_requester.js | |
parent | c7ecf6edd5a67cac55a9313827886b40ee42bf52 (diff) | |
download | vimperator-plugins-cc6d860ff13ec4ba88cd29b4182076c24539a99d.tar.bz2 |
*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
Diffstat (limited to 'multi_requester.js')
-rw-r--r-- | multi_requester.js | 8 |
1 files changed, 4 insertions, 4 deletions
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 = '<a href="' + escapedUrl + '" class="hl-Title" target="_self">' + escapedUrl + '</a>' + |