| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
ve.ce.MWGalleryImageCaptionNode = function VeCeMWGalleryImageCaptionNode() { |
| 20 |
|
| 21 |
ve.ce.MWGalleryImageCaptionNode.super.apply( this, arguments ); |
| 22 |
|
| 23 |
|
| 24 |
ve.ce.ActiveNode.call( this ); |
| 25 |
|
| 26 |
this.$element.addClass( 'gallerytext' ); |
| 27 |
}; |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
OO.inheritClass( ve.ce.MWGalleryImageCaptionNode, ve.ce.BranchNode ); |
| 32 |
|
| 33 |
OO.mixinClass( ve.ce.MWGalleryImageCaptionNode, ve.ce.ActiveNode ); |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
ve.ce.MWGalleryImageCaptionNode.static.name = 'mwGalleryImageCaption'; |
| 38 |
|
| 39 |
ve.ce.MWGalleryImageCaptionNode.static.tagName = 'div'; |
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
ve.ce.nodeFactory.register( ve.ce.MWGalleryImageCaptionNode ); |