2016-03-13 23:26:27 +00:00
|
|
|
ace.define("ace/snippets/haml",["require","exports","module"], function(require, exports, module) {
|
2014-07-08 20:15:22 +00:00
|
|
|
"use strict";
|
2013-12-30 15:00:16 +00:00
|
|
|
|
|
|
|
exports.snippetText = "snippet t\n\
|
|
|
|
%table\n\
|
|
|
|
%tr\n\
|
|
|
|
%th\n\
|
|
|
|
${1:headers}\n\
|
|
|
|
%tr\n\
|
|
|
|
%td\n\
|
|
|
|
${2:headers}\n\
|
|
|
|
snippet ul\n\
|
|
|
|
%ul\n\
|
|
|
|
%li\n\
|
|
|
|
${1:item}\n\
|
|
|
|
%li\n\
|
|
|
|
snippet =rp\n\
|
|
|
|
= render :partial => '${1:partial}'\n\
|
|
|
|
snippet =rpl\n\
|
|
|
|
= render :partial => '${1:partial}', :locals => {}\n\
|
|
|
|
snippet =rpc\n\
|
|
|
|
= render :partial => '${1:partial}', :collection => @$1\n\
|
|
|
|
\n\
|
|
|
|
";
|
|
|
|
exports.scope = "haml";
|
|
|
|
|
2020-04-14 12:14:48 +00:00
|
|
|
}); (function() {
|
|
|
|
ace.require(["ace/snippets/haml"], function(m) {
|
|
|
|
if (typeof module == "object" && typeof exports == "object" && module) {
|
|
|
|
module.exports = m;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
})();
|
|
|
|
|