mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
95f7d3da24
Upgrade to Ace 1.2.9 GitOrigin-RevId: 8700f6decb530a0f0bbaefbe32a83893e8d91a90
27 lines
534 B
JavaScript
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";
|
|
|
|
});
|