mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
350e2ac38f
Upgrade to Ace v1.4.5 GitOrigin-RevId: 7ab7ba24c0bfc927567fbd4196e05a1c3f26d283
35 lines
No EOL
834 B
JavaScript
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;
|
|
}
|
|
});
|
|
})();
|
|
|