filesbox/web/dist/17999.e6eead8a.async.js

23 lines
852 B
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[17999],{17999:function(n,s,i){n=i.nmd(n),ace.define("ace/snippets/lua.snippets",["require","exports","module"],function(e,t,p){p.exports=`snippet #!
#!/usr/bin/env lua
$1
snippet local
local \${1:x} = \${2:1}
snippet fun
function \${1:fname}(\${2:...})
\${3:-- body}
end
snippet for
for \${1:i}=\${2:1},\${3:10} do
\${4:print(i)}
end
snippet forp
for \${1:i},\${2:v} in pairs(\${3:table_name}) do
\${4:-- body}
end
snippet fori
for \${1:i},\${2:v} in ipairs(\${3:table_name}) do
\${4:-- body}
end
`}),ace.define("ace/snippets/lua",["require","exports","module","ace/snippets/lua.snippets"],function(e,t,p){"use strict";t.snippetText=e("./lua.snippets"),t.scope="lua"}),function(){ace.require(["ace/snippets/lua"],function(e){n&&(n.exports=e)})}()}}]);