Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7448782
ve.dm.CodeSampleAnnotation.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
749 B
Referenced Files
None
Subscribers
None
ve.dm.CodeSampleAnnotation.js
View Options
/*!
* VisualEditor DataModel CodeSampleAnnotation class.
*
* @copyright See AUTHORS.txt
*/
/**
* DataModel code sample annotation.
*
* Represents `<samp>` tags.
*
* @class
* @extends ve.dm.TextStyleAnnotation
* @constructor
* @param {Object} element
*/
ve
.
dm
.
CodeSampleAnnotation
=
function
VeDmCodeSampleAnnotation
()
{
// Parent constructor
ve
.
dm
.
CodeSampleAnnotation
.
super
.
apply
(
this
,
arguments
);
};
/* Inheritance */
OO
.
inheritClass
(
ve
.
dm
.
CodeSampleAnnotation
,
ve
.
dm
.
TextStyleAnnotation
);
/* Static Properties */
ve
.
dm
.
CodeSampleAnnotation
.
static
.
name
=
'textStyle/codeSample'
;
ve
.
dm
.
CodeSampleAnnotation
.
static
.
matchTagNames
=
[
'samp'
];
/* Registration */
ve
.
dm
.
modelRegistry
.
register
(
ve
.
dm
.
CodeSampleAnnotation
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 22, 19:51 (1 d, 20 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
26/96/3da93e28e10375dc554591b0758f
Default Alt Text
ve.dm.CodeSampleAnnotation.js (749 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment