From 7467cdd1fdd2df34601f72a4f9ec1e2ce7c4c762 Mon Sep 17 00:00:00 2001 From: janus_wel Date: Wed, 29 Oct 2008 09:30:37 +0000 Subject: change arg -> arg.string git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@22317 d0d07461-0603-4401-acd4-de1884942a52 --- inspector.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'inspector.js') diff --git a/inspector.js b/inspector.js index 00b8da3..e324bb2 100644 --- a/inspector.js +++ b/inspector.js @@ -13,7 +13,7 @@ const inspectorID = 'inspector@mozilla.org'; if (!Application.extensions.get(inspectorID).enabled) return; /* これやるとFirefox終了時に実行されるんだけど...なぜ? -Object.prototype.inspect = function()[ +Object.prototype.inspect = function(){ runInspector(this); } */ @@ -31,7 +31,7 @@ function runInspector(node){ function getFrameList(){ var list = []; var iframeList = document.getElementsByTagName("iframe"); - for (var i=0; i< iframeList.length; i++){ + for (var i=0, max=iframeList.length ; i