1
0
Fork 0
forked from 0x2620/oxjs

use new-style mouse events in Ox.List

This commit is contained in:
rlx 2011-09-03 23:04:18 +00:00
commit be3b1d573d
8 changed files with 185 additions and 143 deletions

View file

@ -36,7 +36,7 @@ Ox.load('UI', {
.appendTo(Ox.UI.$body);
[
'anyclick', 'singleclick', 'doubleclick', 'mouserepeat',
'dragstart', 'drag', 'dragpause', 'dragend'
'dragstart', 'drag', 'dragenter', 'dragleave', 'dragpause', 'dragend'
].forEach(function(event) {
$target.bindEvent(event, function(e) {
var date = new Date();