You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
860 B
JavaScript
34 lines
860 B
JavaScript
4 years ago
|
define("ace/snippets/haml",["require","exports","module"], function(require, exports, module) {
|
||
|
"use strict";
|
||
|
|
||
|
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";
|
||
|
|
||
|
}); (function() {
|
||
|
window.require(["ace/snippets/haml"], function(m) {
|
||
|
if (typeof module == "object" && typeof exports == "object" && module) {
|
||
|
module.exports = m;
|
||
|
}
|
||
|
});
|
||
|
})();
|
||
|
|