mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
d613d7e1a2
Upgrade Ace to v1.4.3 GitOrigin-RevId: 810350080a6b89fd9817ebcacde7e9817097d99a
34 lines
No EOL
758 B
JavaScript
34 lines
No EOL
758 B
JavaScript
ace.define("ace/snippets/drools",[], 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;
|
|
}
|
|
});
|
|
})();
|
|
|