| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
ve.dm.ListItemNode = function VeDmListItemNode() { |
| 18 |
|
| 19 |
ve.dm.ListItemNode.super.apply( this, arguments ); |
| 20 |
}; |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
OO.inheritClass( ve.dm.ListItemNode, ve.dm.BranchNode ); |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
ve.dm.ListItemNode.static.name = 'listItem'; |
| 29 |
|
| 30 |
ve.dm.ListItemNode.static.parentNodeTypes = [ 'list' ]; |
| 31 |
|
| 32 |
ve.dm.ListItemNode.static.matchTagNames = [ 'li' ]; |
| 33 |
|
| 34 |
|
| 35 |
ve.dm.ListItemNode.static.describeChanges = function () { |
| 36 |
return ve.dm.ListNode.static.describeChanges.apply( this, arguments ); |
| 37 |
}; |
| 38 |
|
| 39 |
ve.dm.ListItemNode.static.describeChange = function () { |
| 40 |
return ve.dm.ListNode.static.describeChange.apply( this, arguments ); |
| 41 |
}; |
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
ve.dm.modelRegistry.register( ve.dm.ListItemNode ); |