Page MenuHomeWickedGov Phorge

ve.dm.CodeAnnotation.js
No OneTemporary

Size
812 B
Referenced Files
None
Subscribers
None

ve.dm.CodeAnnotation.js

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

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 22, 10:48 (8 h, 29 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
58/a8/3940e190de895bca5b255771958c
Default Alt Text
ve.dm.CodeAnnotation.js (812 B)

Event Timeline