| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
ve.ce.StrikethroughAnnotation = function VeCeStrikethroughAnnotation() { |
| 18 |
|
| 19 |
ve.ce.StrikethroughAnnotation.super.apply( this, arguments ); |
| 20 |
|
| 21 |
|
| 22 |
this.$element.addClass( 've-ce-strikethroughAnnotation' ); |
| 23 |
}; |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
OO.inheritClass( ve.ce.StrikethroughAnnotation, ve.ce.TextStyleAnnotation ); |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
ve.ce.StrikethroughAnnotation.static.name = 'textStyle/strikethrough'; |
| 32 |
|
| 33 |
ve.ce.StrikethroughAnnotation.static.tagName = 's'; |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
ve.ce.annotationFactory.register( ve.ce.StrikethroughAnnotation ); |