|
14 | 14 | * an optional DOM event name and a jsaction name. If the optional |
15 | 15 | * DOM event name is omitted, 'click' is assumed. The jsaction names |
16 | 16 | * are dot separated pairs of a namespace and a simple jsaction |
17 | | - * name. If the namespace is absent, it is taken from the closest |
18 | | - * ancestor element with a jsnamespace attribute, if there is |
19 | | - * any. If there is no ancestor with a jsnamespace attribute, the |
20 | | - * simple name is assumed to be the jsaction name. |
| 17 | + * name. |
21 | 18 | * |
22 | | - * Used by EventContract. |
| 19 | + * See grammar in README.md for expected syntax in the attribute value. |
23 | 20 | */ |
24 | 21 | export const JSACTION = 'jsaction'; |
25 | 22 |
|
26 | | -/** |
27 | | - * The jsnamespace attribute provides the namespace part of the |
28 | | - * jaction names occurring in the jsaction attribute where it's |
29 | | - * missing. |
30 | | - * |
31 | | - * Used by EventContract. |
32 | | - */ |
33 | | -export const JSNAMESPACE = 'jsnamespace'; |
34 | | - |
35 | 23 | /** |
36 | 24 | * The oi attribute is a log impression tag for impression logging |
37 | 25 | * and action tracking. For an element that carries a jsaction |
@@ -74,4 +62,4 @@ export const JSINSTANCE = 'jsinstance'; |
74 | 62 | */ |
75 | 63 | export const JSTRACK = 'jstrack'; |
76 | 64 |
|
77 | | -export const Attribute = {JSACTION, JSNAMESPACE, OI, VED, VET, JSINSTANCE, JSTRACK}; |
| 65 | +export const Attribute = {JSACTION, OI, VED, VET, JSINSTANCE, JSTRACK}; |
0 commit comments