aboutsummaryrefslogtreecommitdiffstats
path: root/feedSomeKeys_3.js
diff options
context:
space:
mode:
authoranekos2010-03-01 12:22:25 +0000
committeranekos2010-03-01 12:22:25 +0000
commit86cc633dde8b89cbea651b4b4b9ca9a8de0de3d7 (patch)
treefc59d1e5bce13eec595aceba30860a91d041eb8d /feedSomeKeys_3.js
parent08d1e29d6c0666abca5446be4d82ebc997c7ee38 (diff)
downloadvimperator-plugins-86cc633dde8b89cbea651b4b4b9ca9a8de0de3d7.tar.bz2
要らなくなった子を削除
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@36880 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'feedSomeKeys_3.js')
-rwxr-xr-xfeedSomeKeys_3.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/feedSomeKeys_3.js b/feedSomeKeys_3.js
index e352a92..31bd2b6 100755
--- a/feedSomeKeys_3.js
+++ b/feedSomeKeys_3.js
@@ -145,24 +145,6 @@ let INFO =
return result;
}
- function getFrame (num) {
- function bodyCheck (content)
- (content.document.body.localName.toLowerCase() === 'body');
-
- function get (content) {
- if (bodyCheck(content) && num-- <= 0)
- return content;
- for each (frame in Array.slice(content.frames)) {
- let result = get(frame);
- if (result)
- return result;
- }
- return void 0;
- }
-
- return get(content) || content;
- }
-
function virtualize (event) {
event.keyCode = VKeys[String.fromCharCode(event.charCode).toLowerCase()];
event.charCode = 0;