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