1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2024-12-21 09:12:10 -05:00
overleaf/services/web/public/js/ace-1.2.5/snippets/haml.js
2016-10-06 14:19:10 +01:00

27 lines
534 B
JavaScript

ace.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";
});