aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranekos2010-03-28 14:21:02 +0000
committeranekos2010-03-28 14:21:02 +0000
commitb8c9ab4f9559d8c4406e16e7f95e4ac9c7f40631 (patch)
tree50ecdef2c2f399f80ceaecaccc2c280bee7dd09e
parentdcc08e444dfac287dbed80c38ee04a50c5c7d2b0 (diff)
downloadvimperator-plugins-b8c9ab4f9559d8c4406e16e7f95e4ac9c7f40631.tar.bz2
せばめ
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37117 d0d07461-0603-4401-acd4-de1884942a52
-rwxr-xr-xspatial-navigation.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/spatial-navigation.js b/spatial-navigation.js
index 889b7a9..7f5a35f 100755
--- a/spatial-navigation.js
+++ b/spatial-navigation.js
@@ -185,7 +185,6 @@ let g:spatial_navigation_mappings="<A-h> <A-j> <A-k> <A-l>"
let mx, my, nx, ny;
if (dir === DIR.L) {
-
// |---|
// |---|
//
@@ -194,8 +193,6 @@ let g:spatial_navigation_mappings="<A-h> <A-j> <A-k> <A-l>"
//
// |---|
// |---|
- //
-
if (a.top > b.bottom) {
// the b rect is above a.
mx = a.left;
@@ -215,7 +212,6 @@ let g:spatial_navigation_mappings="<A-h> <A-j> <A-k> <A-l>"
ny = 0;
}
} else if (dir === DIR.R) {
-
// |---|
// |---|
//
@@ -224,8 +220,6 @@ let g:spatial_navigation_mappings="<A-h> <A-j> <A-k> <A-l>"
//
// |---|
// |---|
- //
-
if (a.top > b.bottom) {
// the b rect is above a.
mx = a.right;
@@ -245,14 +239,11 @@ let g:spatial_navigation_mappings="<A-h> <A-j> <A-k> <A-l>"
ny = 0;
}
} else if (dir === DIR.U) {
-
// |---| |---| |---|
// |---| |---| |---|
//
// |---|
// |---|
- //
-
if (a.left > b.right) {
// the b rect is to the left of a.
mx = a.left;
@@ -273,14 +264,11 @@ let g:spatial_navigation_mappings="<A-h> <A-j> <A-k> <A-l>"
ny = b.bottom;
}
} else if (dir === DIR.D) {
-
// |---|
// |---|
//
// |---| |---| |---|
// |---| |---| |---|
- //
-
if (a.left > b.right) {
// the b rect is to the left of a.
mx = a.left;