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