Merge branch 'v3' into Av2
Conflicts: LICENSE builds/4chan-X.js builds/appchan-x.user.js builds/crx/script.js src/General/UI.coffee
This commit is contained in:
commit
443e48d280
3
.gitignore
vendored
3
.gitignore
vendored
@ -5,4 +5,5 @@ tmp-crx/
|
||||
tmp-userjs/
|
||||
tmp-userscript/
|
||||
builds/4chan-X.zip
|
||||
Gruntfile.js
|
||||
Gruntfile.js
|
||||
4chan-x*
|
||||
|
||||
2
LICENSE
2
LICENSE
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* appchan x - Version 2.0.0 - 2013-05-03
|
||||
* appchan x - Version 2.0.0 - 2013-05-05
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* appchan x - Version 2.0.0 - 2013-05-03
|
||||
* appchan x - Version 2.0.0 - 2013-05-05
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
@ -4741,6 +4741,7 @@
|
||||
}
|
||||
});
|
||||
$.on(root, endEvents, o.hoverend);
|
||||
$.on(d, 'keydown', o.hoverend);
|
||||
return $.on(root, 'mousemove', o.hover);
|
||||
};
|
||||
hover = function(e) {
|
||||
@ -4757,9 +4758,13 @@
|
||||
style.left = left;
|
||||
return style.right = right;
|
||||
};
|
||||
hoverend = function() {
|
||||
hoverend = function(e) {
|
||||
if (e.type === 'keydown' && e.keyCode !== 13) {
|
||||
return;
|
||||
}
|
||||
$.rm(this.el);
|
||||
$.off(this.root, this.endEvents, this.hoverend);
|
||||
$.off(d, 'keydown', this.hoverend);
|
||||
$.off(this.root, 'mousemove', this.hover);
|
||||
if (this.cb) {
|
||||
return this.cb.call(this);
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
// ==/UserScript==
|
||||
|
||||
/*
|
||||
* appchan x - Version 2.0.0 - 2013-05-03
|
||||
* appchan x - Version 2.0.0 - 2013-05-05
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
@ -4737,6 +4737,7 @@
|
||||
}
|
||||
});
|
||||
$.on(root, endEvents, o.hoverend);
|
||||
$.on(d, 'keydown', o.hoverend);
|
||||
return $.on(root, 'mousemove', o.hover);
|
||||
};
|
||||
hover = function(e) {
|
||||
@ -4753,9 +4754,13 @@
|
||||
style.left = left;
|
||||
return style.right = right;
|
||||
};
|
||||
hoverend = function() {
|
||||
hoverend = function(e) {
|
||||
if (e.type === 'keydown' && e.keyCode !== 13) {
|
||||
return;
|
||||
}
|
||||
$.rm(this.el);
|
||||
$.off(this.root, this.endEvents, this.hoverend);
|
||||
$.off(d, 'keydown', this.hoverend);
|
||||
$.off(this.root, 'mousemove', this.hover);
|
||||
if (this.cb) {
|
||||
return this.cb.call(this);
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* appchan x - Version 2.0.0 - 2013-05-03
|
||||
* appchan x - Version 2.0.0 - 2013-05-05
|
||||
*
|
||||
* Licensed under the MIT license.
|
||||
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE
|
||||
@ -4738,6 +4738,7 @@
|
||||
}
|
||||
});
|
||||
$.on(root, endEvents, o.hoverend);
|
||||
$.on(d, 'keydown', o.hoverend);
|
||||
return $.on(root, 'mousemove', o.hover);
|
||||
};
|
||||
hover = function(e) {
|
||||
@ -4754,9 +4755,13 @@
|
||||
style.left = left;
|
||||
return style.right = right;
|
||||
};
|
||||
hoverend = function() {
|
||||
hoverend = function(e) {
|
||||
if (e.type === 'keydown' && e.keyCode !== 13) {
|
||||
return;
|
||||
}
|
||||
$.rm(this.el);
|
||||
$.off(this.root, this.endEvents, this.hoverend);
|
||||
$.off(d, 'keydown', this.hoverend);
|
||||
$.off(this.root, 'mousemove', this.hover);
|
||||
if (this.cb) {
|
||||
return this.cb.call(this);
|
||||
|
||||
@ -323,6 +323,7 @@ UI = do ->
|
||||
o.hover o.latestEvent if el.parentNode
|
||||
|
||||
$.on root, endEvents, o.hoverend
|
||||
$.on d, 'keydown', o.hoverend
|
||||
$.on root, 'mousemove', o.hover
|
||||
|
||||
hover = (e) ->
|
||||
@ -348,9 +349,11 @@ UI = do ->
|
||||
style.left = left
|
||||
style.right = right
|
||||
|
||||
hoverend = ->
|
||||
hoverend = (e) ->
|
||||
return if e.type is 'keydown' and e.keyCode isnt 13
|
||||
$.rm @el
|
||||
$.off @root, @endEvents, @hoverend
|
||||
$.off d, 'keydown', @hoverend
|
||||
$.off @root, 'mousemove', @hover
|
||||
@cb.call @ if @cb
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user