overleaf/services/web/frontend/js/vendor/ace-1.4.12/snippets/haml.js
Chrystal Maria Griffiths cc65ec32c5 Merge pull request #3178 from overleaf/cmg-ace-upgrade-1.4.12
Upgrade ace to 1.4.12

GitOrigin-RevId: a381b3815248e710cf8f02558e8c9f74b063fc96
2020-09-17 02:04:49 +00:00

34 lines
No EOL
833 B
JavaScript

ace.define("ace/snippets/haml",[], 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() {
ace.require(["ace/snippets/haml"], function(m) {
if (typeof module == "object" && typeof exports == "object" && module) {
module.exports = m;
}
});
})();