diff options
author | teramako | 2010-10-23 23:22:01 +0900 |
---|---|---|
committer | teramako | 2010-10-23 23:22:01 +0900 |
commit | 19673f1a91d4c3ac94a0bbdb2fa6407ca7dccb68 (patch) | |
tree | 0f9da893883cd100a6d1b7325374b1f72e091e5d | |
parent | 03139870c25fe5b4a797679de9dcc80370c7d82b (diff) | |
download | vimperator-plugins-19673f1a91d4c3ac94a0bbdb2fa6407ca7dccb68.tar.bz2 |
add plugin help
* 公式helpを追加
* 旧式を削除
-rw-r--r-- | inspector.js | 49 |
1 files changed, 28 insertions, 21 deletions
diff --git a/inspector.js b/inspector.js index 7404dbf..6a46b88 100644 --- a/inspector.js +++ b/inspector.js @@ -1,24 +1,31 @@ -let PLUGIN_INFO = -<VimperatorPlugin> -<name>{NAME}</name> -<description>DOM Inspector command</description> -<require type="extension" id="inspector@mozilla.org">DOM Inspector</require> -<author mail="teramako@gmail.com" homepage="http://vimperator.g.hatena.ne.jp/teramako/">teramako</author> -<version>0.3</version> -<minVersion>2.3pre</minVersion> -<maxVersion>2.3pre</maxVersion> -<detail><![CDATA[ -== Usage == -:inspect #{id}: - inspect the element of the {id} in browser content -:inspect! #{id}: - inspect the element of the {id} in firefox -:inspect[!] -f[rame] #{id}: - inspect the document in the frame element of the {id} -:inspect {str}: - inspect the return value of evaluated the {str} -]]></detail> -</VimperatorPlugin>; +let INFO = +<plugin name="Inspector" version="0.3" + href="http://github.com/vimpr/vimperator-plugins/raw/master/inspector.js" + summary="run DOM Inspector" + xmlns="http://vimperator.org/namespaces/liberator"> + <author email="teramako@gmail.com">teramako</author> + <license>MPL 1.1/GPL 2.0/LGPL 2.1</license> + <project name="Vimperator" minVersion="2.3"/> + <p> + run DOM Inspector. + Of caorse, needs DOM Inspector. + </p> + <item> + <tags>:inspect</tags> + <spec>:inspect<oa>!</oa> #<a>id</a></spec> + <description> + <p>inspect the element of <a>id</a> in browser content</p> + <p>if bang (<a>!</a>) is exists, inspect in firefox instead.</p> + </description> + </item> + <item> + <tags>:inspect</tags> + <spec>:inpeect <a>expr</a></spec> + <description> + <p>inspect the return value of evaluated the <a>expr</a></p> + </description> + </item> +</plugin>; (function(){ |