Update ACE Editor to version 1.32.6
This commit is contained in:

committed by
Sebastian Serth

parent
0a473c7fd3
commit
b00d45521b
40
vendor/assets/javascripts/ace/snippets/lua.js
vendored
40
vendor/assets/javascripts/ace/snippets/lua.js
vendored
@ -1,28 +1,16 @@
|
||||
define("ace/snippets/lua",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "snippet #!\n\
|
||||
#!/usr/bin/env lua\n\
|
||||
$1\n\
|
||||
snippet local\n\
|
||||
local ${1:x} = ${2:1}\n\
|
||||
snippet fun\n\
|
||||
function ${1:fname}(${2:...})\n\
|
||||
${3:-- body}\n\
|
||||
end\n\
|
||||
snippet for\n\
|
||||
for ${1:i}=${2:1},${3:10} do\n\
|
||||
${4:print(i)}\n\
|
||||
end\n\
|
||||
snippet forp\n\
|
||||
for ${1:i},${2:v} in pairs(${3:table_name}) do\n\
|
||||
${4:-- body}\n\
|
||||
end\n\
|
||||
snippet fori\n\
|
||||
for ${1:i},${2:v} in ipairs(${3:table_name}) do\n\
|
||||
${4:-- body}\n\
|
||||
end\n\
|
||||
";
|
||||
exports.scope = "lua";
|
||||
define("ace/snippets/lua.snippets",["require","exports","module"], function(require, exports, module){module.exports = "snippet #!\n\t#!/usr/bin/env lua\n\t$1\nsnippet local\n\tlocal ${1:x} = ${2:1}\nsnippet fun\n\tfunction ${1:fname}(${2:...})\n\t\t${3:-- body}\n\tend\nsnippet for\n\tfor ${1:i}=${2:1},${3:10} do\n\t\t${4:print(i)}\n\tend\nsnippet forp\n\tfor ${1:i},${2:v} in pairs(${3:table_name}) do\n\t ${4:-- body}\n\tend\nsnippet fori\n\tfor ${1:i},${2:v} in ipairs(${3:table_name}) do\n\t ${4:-- body}\n\tend\n";
|
||||
|
||||
});
|
||||
|
||||
define("ace/snippets/lua",["require","exports","module","ace/snippets/lua.snippets"], function(require, exports, module){"use strict";
|
||||
exports.snippetText = require("./lua.snippets");
|
||||
exports.scope = "lua";
|
||||
|
||||
}); (function() {
|
||||
window.require(["ace/snippets/lua"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
Reference in New Issue
Block a user