Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4089903
mode-properties.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
mode-properties.js
View Options
ace
.
define
(
"ace/mode/properties_highlight_rules"
,[
"require"
,
"exports"
,
"module"
,
"ace/lib/oop"
,
"ace/mode/text_highlight_rules"
],
function
(
require
,
exports
,
module
){
"use strict"
;
var
oop
=
require
(
"../lib/oop"
);
var
TextHighlightRules
=
require
(
"./text_highlight_rules"
).
TextHighlightRules
;
var
PropertiesHighlightRules
=
function
()
{
var
escapeRe
=
/\\u[0-9a-fA-F]{4}|\\/
;
this
.
$rules
=
{
"start"
:
[
{
token
:
"comment"
,
regex
:
/[!#].*$/
},
{
token
:
"keyword"
,
regex
:
/[=:]$/
},
{
token
:
"keyword"
,
regex
:
/[=:]/
,
next
:
"value"
},
{
token
:
"constant.language.escape"
,
regex
:
escapeRe
},
{
defaultToken
:
"variable"
}
],
"value"
:
[
{
regex
:
/\\$/
,
token
:
"string"
,
next
:
"value"
},
{
regex
:
/$/
,
token
:
"string"
,
next
:
"start"
},
{
token
:
"constant.language.escape"
,
regex
:
escapeRe
},
{
defaultToken
:
"string"
}
]
};
};
oop
.
inherits
(
PropertiesHighlightRules
,
TextHighlightRules
);
exports
.
PropertiesHighlightRules
=
PropertiesHighlightRules
;
});
ace
.
define
(
"ace/mode/properties"
,[
"require"
,
"exports"
,
"module"
,
"ace/lib/oop"
,
"ace/mode/text"
,
"ace/mode/properties_highlight_rules"
],
function
(
require
,
exports
,
module
){
"use strict"
;
var
oop
=
require
(
"../lib/oop"
);
var
TextMode
=
require
(
"./text"
).
Mode
;
var
PropertiesHighlightRules
=
require
(
"./properties_highlight_rules"
).
PropertiesHighlightRules
;
var
Mode
=
function
()
{
this
.
HighlightRules
=
PropertiesHighlightRules
;
this
.
$behaviour
=
this
.
$defaultBehaviour
;
};
oop
.
inherits
(
Mode
,
TextMode
);
(
function
()
{
this
.
$id
=
"ace/mode/properties"
;
}).
call
(
Mode
.
prototype
);
exports
.
Mode
=
Mode
;
});
(
function
()
{
ace
.
require
([
"ace/mode/properties"
],
function
(
m
)
{
if
(
typeof
module
==
"object"
&&
typeof
exports
==
"object"
&&
module
)
{
module
.
exports
=
m
;
}
});
})();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 18 2026, 10:48 (5 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
79/69/f7c1a23659d6fe29c7353bee704b
Default Alt Text
mode-properties.js (2 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment