mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-12-12 07:15:15 +00:00
d4cc23f606
Change-Id: I31eeb56eec4995e1bff8248e5c1d4df7f20ad48b
33 lines
785 B
JavaScript
33 lines
785 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";
|
|
|
|
}); (function() {
|
|
ace.require(["ace/snippets/drools"], function(m) {
|
|
if (typeof module == "object" && typeof exports == "object" && module) {
|
|
module.exports = m;
|
|
}
|
|
});
|
|
})();
|
|
|