overleaf/services/web/public/js/ace-1.4.4/snippets/haml.js
Alasdair Smith a3894ac9b4 Merge pull request #1794 from overleaf/as-upgrade-ace-1.4.4
Upgrade Ace to v1.4.4

GitOrigin-RevId: 26681bcf255537f8eb09fa0ac1c98009cf964496
2019-05-23 08:49:13 +00:00

35 lines
No EOL
834 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;
}
});
})();