force sync from /var/www/html/panel: 2025-09-08T20:36:30Z
This commit is contained in:
commit
4f717c9ee8
18119 changed files with 2566034 additions and 0 deletions
49
ControlPanel/modules/litefm/ace/snippets/gobstones.js
Executable file
49
ControlPanel/modules/litefm/ace/snippets/gobstones.js
Executable file
|
|
@ -0,0 +1,49 @@
|
|||
define("ace/snippets/gobstones",["require","exports","module"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.snippetText = "# Procedure\n\
|
||||
snippet proc\n\
|
||||
procedure ${1?:name}(${2:argument}) {\n\
|
||||
${3:// body...}\n\
|
||||
}\n\
|
||||
\n\
|
||||
# Function\n\
|
||||
snippet fun\n\
|
||||
function ${1?:name}(${2:argument}) {\n\
|
||||
return ${3:// body...}\n\
|
||||
}\n\
|
||||
\n\
|
||||
# Repeat\n\
|
||||
snippet rep\n\
|
||||
repeat ${1?:times} {\n\
|
||||
${2:// body...}\n\
|
||||
}\n\
|
||||
\n\
|
||||
# For\n\
|
||||
snippet for\n\
|
||||
foreach ${1?:e} in ${2?:list} {\n\
|
||||
${3:// body...} \n\
|
||||
}\n\
|
||||
\n\
|
||||
# If\n\
|
||||
snippet if\n\
|
||||
if (${1?:condition}) {\n\
|
||||
${3:// body...} \n\
|
||||
}\n\
|
||||
\n\
|
||||
# While\n\
|
||||
while (${1?:condition}) {\n\
|
||||
${2:// body...} \n\
|
||||
}\n\
|
||||
";
|
||||
exports.scope = "gobstones";
|
||||
|
||||
});
|
||||
(function() {
|
||||
window.require(["ace/snippets/gobstones"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue