diff options
| author | drry | 2008-12-09 01:52:48 +0000 | 
|---|---|---|
| committer | drry | 2008-12-09 01:52:48 +0000 | 
| commit | 83b3646a8ef65118c8010b72aec460c90ed79ac7 (patch) | |
| tree | 859177f4d8780d4e0f3b1543789e55df61106dcd | |
| parent | 5d9188de47a1d627fc299176e91a68094a255d01 (diff) | |
| download | vimperator-plugins-83b3646a8ef65118c8010b72aec460c90ed79ac7.tar.bz2 | |
 * [26161].
 * そして小文字化の前に除去する。
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@26162 d0d07461-0603-4401-acd4-de1884942a52
| -rw-r--r-- | multi_requester.js | 17 | 
1 files changed, 8 insertions, 9 deletions
diff --git a/multi_requester.js b/multi_requester.js index 41e8610..f6d6ce7 100644 --- a/multi_requester.js +++ b/multi_requester.js @@ -5,7 +5,7 @@ var PLUGIN_INFO =      <description>request, and the result is displayed to the buffer.</description>      <description lang="ja">リクエストの結果をバッファに出力する。</description>      <author mail="suvene@zeromemory.info" homepage="http://zeromemory.sblo.jp/">suVene</author> -    <version>0.4.3</version> +    <version>0.4.4</version>      <minVersion>2.0pre</minVersion>      <maxVersion>2.0pre</maxVersion>      <detail><![CDATA[ @@ -17,7 +17,7 @@ command[!] subcommand [ANY_TEXT]  - !                create new tab.  - ANY_TEXT         your input text -ex.) +e.g.)  :mr  alc[,goo,any1,any2…] ANY_TEXT           -> request by the input text, and display to the buffer.  :mr! goo[,any1,any2,…]    {window.selection} -> request by the selected text, and display to the new tab. @@ -28,7 +28,7 @@ or  liberator.globalVariables.multi_requester_command = [ANY1, ANY2, ……];  == SITEINFO == -ex.) +e.g.)  javascript <<EOM  liberator.globalVariables.multi_requester_siteinfo = [      { @@ -51,7 +51,7 @@ EOM      @see http://wedata.net/databases/Multi%20Requester/items  == MAPPINGS == -ex.) +e.g.)  javascript <<EOM  liberator.globalVariables.multi_requester_mappings = [      [',ml', 'ex'],                  // == :mr  ex @@ -73,7 +73,7 @@ if (!liberator.plugins.libly) {      liberator.log('multi_requester: needs libly.js');      return;  } -  +  // global variables {{{  var DEFAULT_COMMAND = ['mr'];  var SITEINFO = [ @@ -381,9 +381,8 @@ var MultiRequester = {              html = '<a href="' + escapedUrl + '" class="hl-Title" target="_self">' + escapedUrl + '</a>' +                     (new XMLSerializer()).serializeToString(doc) -                            .replace(/<[^>]+>/g, function(all) all.toLowerCase()) -                            .replace(/<!--(?:[^-]|-(?!->))*-->/g, ''); // actually -                            //.replace(/<!--(?:[^-]|-(?!-))*-->/g, ''); // strictly +                                        .replace(/<!--(?:[^-]|-(?!->))*-->/g, '') +                                        .replace(/<[^>]+>/g, function(all) all.toLowerCase());              MultiRequester.echoHash[res.req.options.siteinfo.name] = html; @@ -396,7 +395,7 @@ var MultiRequester = {          if (MultiRequester.requestCount == 0) {              let echoList = [];              MultiRequester.requestNames.split(',').forEach(function(name) { -                echoList.push(MultiRequester.echoHash[name]) +                echoList.push(MultiRequester.echoHash[name]);              });              html = '<div style="white-space:normal;"><base href="' + escapedUrl + '"/>' +                     echoList.join('') +  | 
