Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7431152
ve.dm.CodeAnnotation.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
812 B
Referenced Files
None
Subscribers
None
ve.dm.CodeAnnotation.js
View Options
/*!
* 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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment