Page MenuHomeWickedGov Phorge

ve.dm.StrikethroughAnnotation.js
No OneTemporary

Size
904 B
Referenced Files
None
Subscribers
None

ve.dm.StrikethroughAnnotation.js

/*!
* VisualEditor DataModel StrikethroughAnnotation class.
*
* @copyright See AUTHORS.txt
*/
/**
* DataModel strikethrough annotation.
*
* Represents `<s>` tags.
*
* @class
* @extends ve.dm.TextStyleAnnotation
* @constructor
* @param {Object} element
*/
ve.dm.StrikethroughAnnotation = function VeDmStrikethroughAnnotation() {
// Parent constructor
ve.dm.StrikethroughAnnotation.super.apply( this, arguments );
};
/* Inheritance */
OO.inheritClass( ve.dm.StrikethroughAnnotation, ve.dm.TextStyleAnnotation );
/* Static Properties */
ve.dm.StrikethroughAnnotation.static.name = 'textStyle/strikethrough';
ve.dm.StrikethroughAnnotation.static.matchTagNames = [ 's', 'del' ];
ve.dm.StrikethroughAnnotation.static.description = OO.ui.deferMsg( 'visualeditor-annotationbutton-strikethrough-tooltip' );
/* Registration */
ve.dm.modelRegistry.register( ve.dm.StrikethroughAnnotation );

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 21, 14:29 (3 h, 52 m ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
94/1e/03ef48eb3ae7e98863c6f99a4860
Default Alt Text
ve.dm.StrikethroughAnnotation.js (904 B)

Event Timeline