|
602
|
1 |
YUI.add('node-event-html5', function (Y, NAME) { |
|
|
2 |
|
|
|
3 |
/** |
|
|
4 |
* Adds HTML5 event support to Node. |
|
|
5 |
* |
|
|
6 |
* @module node |
|
|
7 |
* @submodule node-event-html5 |
|
|
8 |
**/ |
|
|
9 |
|
|
|
10 |
Y.mix(Y.Node.DOM_EVENTS, { |
|
|
11 |
DOMActivate: 1, |
|
|
12 |
DOMContentLoaded: 1, |
|
|
13 |
afterprint: 1, |
|
|
14 |
beforeprint: 1, |
|
|
15 |
canplay: 1, |
|
|
16 |
canplaythrough: 1, |
|
|
17 |
durationchange: 1, |
|
|
18 |
emptied: 1, |
|
|
19 |
ended: 1, |
|
|
20 |
formchange: 1, |
|
|
21 |
forminput: 1, |
|
|
22 |
hashchange: 1, |
|
|
23 |
input: 1, |
|
|
24 |
invalid: 1, |
|
|
25 |
loadedmetadata: 1, |
|
|
26 |
loadeddata: 1, |
|
|
27 |
loadstart: 1, |
|
|
28 |
offline: 1, |
|
|
29 |
online: 1, |
|
|
30 |
pagehide: 1, |
|
|
31 |
pageshow: 1, |
|
|
32 |
pause: 1, |
|
|
33 |
play: 1, |
|
|
34 |
playing: 1, |
|
|
35 |
popstate: 1, |
|
|
36 |
progress: 1, |
|
|
37 |
ratechange: 1, |
|
|
38 |
readystatechange: 1, |
|
|
39 |
redo: 1, |
|
|
40 |
seeking: 1, |
|
|
41 |
seeked: 1, |
|
|
42 |
show: 1, |
|
|
43 |
stalled: 1, |
|
|
44 |
suspend: 1, |
|
|
45 |
timeupdate: 1, |
|
|
46 |
undo: 1, |
|
|
47 |
volumechange: 1, |
|
|
48 |
waiting: 1 |
|
|
49 |
}); |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
}, '@VERSION@', {"requires": ["node-base"]}); |