Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7449438
ve.dm.SubscriptAnnotation.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
926 B
Referenced Files
None
Subscribers
None
ve.dm.SubscriptAnnotation.js
View Options
/*!
* VisualEditor DataModel SubscriptAnnotation class.
*
* @copyright See AUTHORS.txt
*/
/**
* DataModel subscript annotation.
*
* Represents `<sub>` tags.
*
* @class
* @extends ve.dm.TextStyleAnnotation
* @constructor
* @param {Object} element
*/
ve
.
dm
.
SubscriptAnnotation
=
function
VeDmSubscriptAnnotation
()
{
// Parent constructor
ve
.
dm
.
SubscriptAnnotation
.
super
.
apply
(
this
,
arguments
);
};
/* Inheritance */
OO
.
inheritClass
(
ve
.
dm
.
SubscriptAnnotation
,
ve
.
dm
.
TextStyleAnnotation
);
/* Static Properties */
ve
.
dm
.
SubscriptAnnotation
.
static
.
name
=
'textStyle/subscript'
;
ve
.
dm
.
SubscriptAnnotation
.
static
.
matchTagNames
=
[
'sub'
];
ve
.
dm
.
SubscriptAnnotation
.
static
.
removes
=
[
'textStyle/superscript'
];
ve
.
dm
.
SubscriptAnnotation
.
static
.
description
=
OO
.
ui
.
deferMsg
(
'visualeditor-annotationbutton-subscript-tooltip'
);
/* Registration */
ve
.
dm
.
modelRegistry
.
register
(
ve
.
dm
.
SubscriptAnnotation
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 22, 20:11 (1 d, 22 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
9e/7a/113757eea538e500547227e8f727
Default Alt Text
ve.dm.SubscriptAnnotation.js (926 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment