aboutsummaryrefslogtreecommitdiffstats
path: root/hints-for-embedded.js
diff options
context:
space:
mode:
authoranekos2010-04-03 16:54:05 +0000
committeranekos2010-04-03 16:54:05 +0000
commit97e62cc1fe6a07932972a0c27517142936035c72 (patch)
treed1b2469ef2af490928da070c1eadf45101648fc3 /hints-for-embedded.js
parent9bb15ad4ae137984884672b125ff11da11051cd1 (diff)
downloadvimperator-plugins-97e62cc1fe6a07932972a0c27517142936035c72.tar.bz2
Vimeo 対応
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37150 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'hints-for-embedded.js')
-rwxr-xr-xhints-for-embedded.js12
1 files changed, 9 insertions, 3 deletions
diff --git a/hints-for-embedded.js b/hints-for-embedded.js
index 3a53de3..24f3657 100755
--- a/hints-for-embedded.js
+++ b/hints-for-embedded.js
@@ -38,7 +38,7 @@ let PLUGIN_INFO =
<name>Hints For Embedded Objects</name>
<description>Add the hints mode for Embedded objects.</description>
<description lang="ja">埋め込み(embed)オブジェクト用ヒントモード</description>
- <version>1.0.2</version>
+ <version>1.1.0</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<license>new BSD License (Please read the source code comments of this plugin)</license>
<license lang="ja">修正BSDライセンス (ソースコードのコメントを参照してください)</license>
@@ -58,7 +58,7 @@ let PLUGIN_INFO =
// INFO {{{
let INFO =
<>
- <plugin name="HintsForEmbeded" version="1.0.2"
+ <plugin name="HintsForEmbeded" version="1.1.0"
href="http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/hints-for-embedded.js"
summary="Add the hints mode for embedded objects."
lang="en-US"
@@ -102,7 +102,7 @@ let INFO =
</description>
</item>
</plugin>
- <plugin name="HintsForEmbeded" version="1.0.2"
+ <plugin name="HintsForEmbeded" version="1.1.0"
href="http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/hints-for-embedded.js"
summary="埋め込み(embed)オブジェクト用ヒントモード"
lang="ja"
@@ -174,6 +174,12 @@ let INFO =
name: /.*/,
value: /youtube\.com\/v\/([-a-zA-Z0-9_]+)/,
url: function (id) ('http://www.youtube.com/watch?v=' + id)
+ },
+ vimeo: {
+ site: /vimeo/,
+ name: /.*/,
+ value: /clip_id=(\d+)/,
+ url: function (id) ('http://vimeo.com/' + id)
}
};