aswi2020horky-gitlab/project/Deserializer/resources/ace/snippets/haml.js @ 5ae26965
1 |
ace.define("ace/snippets/haml",["require","exports","module"], function(require, exports, module) { |
---|---|
2 |
"use strict"; |
3 |
|
4 |
exports.snippetText = "snippet t\n\ |
5 |
%table\n\ |
6 |
%tr\n\ |
7 |
%th\n\ |
8 |
${1:headers}\n\ |
9 |
%tr\n\ |
10 |
%td\n\ |
11 |
${2:headers}\n\ |
12 |
snippet ul\n\ |
13 |
%ul\n\ |
14 |
%li\n\ |
15 |
${1:item}\n\ |
16 |
%li\n\ |
17 |
snippet =rp\n\ |
18 |
= render :partial => '${1:partial}'\n\ |
19 |
snippet =rpl\n\ |
20 |
= render :partial => '${1:partial}', :locals => {}\n\ |
21 |
snippet =rpc\n\ |
22 |
= render :partial => '${1:partial}', :collection => @$1\n\ |
23 |
\n\
|
24 |
"; |
25 |
exports.scope = "haml"; |
26 |
|
27 |
}); (function() { |
28 |
ace.require(["ace/snippets/haml"], function(m) { |
29 |
if (typeof module == "object" && typeof exports == "object" && module) { |
30 |
module.exports = m; |
31 |
}
|
32 |
});
|
33 |
})();
|
34 |
|