mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2025-01-09 04:04:22 +00:00
628e0a84ab
Adds support for CSS media queries Bug: T167686 Bug: T170999 Change-Id: I553191a9b7ac9ce026a40ef9c317bb1171ec6fc1
27 lines
456 B
JavaScript
27 lines
456 B
JavaScript
ace.define("ace/snippets/drools",["require","exports","module"], function(require, exports, module) {
|
|
"use strict";
|
|
|
|
exports.snippetText = "\n\
|
|
snippet rule\n\
|
|
rule \"${1?:rule_name}\"\n\
|
|
when\n\
|
|
${2:// when...} \n\
|
|
then\n\
|
|
${3:// then...}\n\
|
|
end\n\
|
|
\n\
|
|
snippet query\n\
|
|
query ${1?:query_name}\n\
|
|
${2:// find} \n\
|
|
end\n\
|
|
\n\
|
|
snippet declare\n\
|
|
declare ${1?:type_name}\n\
|
|
${2:// attributes} \n\
|
|
end\n\
|
|
\n\
|
|
";
|
|
exports.scope = "drools";
|
|
|
|
});
|