From ace561886987abfd3e46847b8dcf813fe16bae9f Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 16 Apr 2009 15:44:16 +0000 Subject: util.js の変更に対応 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@32501 d0d07461-0603-4401-acd4-de1884942a52 --- auto-focus-frame.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auto-focus-frame.js') 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 = Auto focus frame Automatically focus to largest frame. 最も大きなフレームに自動的にフォーカスする。 - 1.0.4 + 1.0.5 anekos new BSD License (Please read the source code comments of this plugin) 修正BSDライセンス (ソースコードのコメントを参照してください) @@ -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; -- cgit v1.2.3