aboutsummaryrefslogtreecommitdiffstats
path: root/auto-focus-frame.js
diff options
context:
space:
mode:
authoranekos2009-04-16 15:44:16 +0000
committeranekos2009-04-16 15:44:16 +0000
commitace561886987abfd3e46847b8dcf813fe16bae9f (patch)
tree87430f9bd82aae0dd660b13b1bd495e124c1cb09 /auto-focus-frame.js
parentec9bf7659a4ed5eced6111509572fd969663c832 (diff)
downloadvimperator-plugins-ace561886987abfd3e46847b8dcf813fe16bae9f.tar.bz2
util.js の変更に対応
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@32501 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'auto-focus-frame.js')
-rw-r--r--auto-focus-frame.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto-focus-frame.js b/auto-focus-frame.js
index 936dedd..4e4d60f 100644
--- a/auto-focus-frame.js
+++ b/auto-focus-frame.js
@@ -38,7 +38,7 @@ let PLUGIN_INFO =
<name>Auto focus frame</name>
<description>Automatically focus to largest frame.</description>
<description lang="ja">最も大きなフレームに自動的にフォーカスする。</description>
- <version>1.0.4</version>
+ <version>1.0.5</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>
@@ -67,7 +67,7 @@ let PLUGIN_INFO =
if (content.frames.length <= 1)
return;
let [maxSize, maxFrame] = [-1, null];
- for (let frame in util.Array.iterator(content.frames)) {
+ for (let frame in util.Array.itervalues(content.frames)) {
try {
if (!(frame.frameElement instanceof HTMLFrameElement))
continue;