overleaf/services/web/public/js/ace/snippets/haml.js

28 lines
530 B
JavaScript
Raw Normal View History

2014-07-09 12:59:04 -04:00
define("ace/snippets/haml",["require","exports","module"], function(require, exports, module) {
2014-02-12 05:23:40 -05:00
"use strict";
2014-07-09 12:59:04 -04: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\
";
2014-02-12 05:23:40 -05:00
exports.scope = "haml";
});