Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7419279
ve.ce.SubscriptAnnotation.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
948 B
Referenced Files
None
Subscribers
None
ve.ce.SubscriptAnnotation.js
View Options
/*!
* VisualEditor ContentEditable SubscriptAnnotation class.
*
* @copyright See AUTHORS.txt
*/
/**
* ContentEditable subscript annotation.
*
* @class
* @extends ve.ce.TextStyleAnnotation
* @constructor
* @param {ve.dm.SubscriptAnnotation} model Model to observe
* @param {ve.ce.ContentBranchNode} [parentNode] Node rendering this annotation
* @param {Object} [config] Configuration options
*/
ve
.
ce
.
SubscriptAnnotation
=
function
VeCeSubscriptAnnotation
()
{
// Parent constructor
ve
.
ce
.
SubscriptAnnotation
.
super
.
apply
(
this
,
arguments
);
// DOM changes
this
.
$element
.
addClass
(
've-ce-subscriptAnnotation'
);
};
/* Inheritance */
OO
.
inheritClass
(
ve
.
ce
.
SubscriptAnnotation
,
ve
.
ce
.
TextStyleAnnotation
);
/* Static Properties */
ve
.
ce
.
SubscriptAnnotation
.
static
.
name
=
'textStyle/subscript'
;
ve
.
ce
.
SubscriptAnnotation
.
static
.
tagName
=
'sub'
;
/* Registration */
ve
.
ce
.
annotationFactory
.
register
(
ve
.
ce
.
SubscriptAnnotation
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 22, 04:22 (1 d, 5 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
59/e7/acc98aa210bd4a12c165c6cf17f9
Default Alt Text
ve.ce.SubscriptAnnotation.js (948 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment