lua-fbfa9a77.js 1.2 KB

1234567891011121314151617181920212223
  1. import{g as a}from"./index-91b358e1.js";function u(r,o){for(var t=0;t<o.length;t++){const e=o[t];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in r)){const p=Object.getOwnPropertyDescriptor(e,n);p&&Object.defineProperty(r,n,p.get?p:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var i={exports:{}};(function(r,o){ace.define("ace/snippets/lua.snippets",["require","exports","module"],function(t,e,n){n.exports=`snippet #!
  2. #!/usr/bin/env lua
  3. $1
  4. snippet local
  5. local \${1:x} = \${2:1}
  6. snippet fun
  7. function \${1:fname}(\${2:...})
  8. \${3:-- body}
  9. end
  10. snippet for
  11. for \${1:i}=\${2:1},\${3:10} do
  12. \${4:print(i)}
  13. end
  14. snippet forp
  15. for \${1:i},\${2:v} in pairs(\${3:table_name}) do
  16. \${4:-- body}
  17. end
  18. snippet fori
  19. for \${1:i},\${2:v} in ipairs(\${3:table_name}) do
  20. \${4:-- body}
  21. end
  22. `}),ace.define("ace/snippets/lua",["require","exports","module","ace/snippets/lua.snippets"],function(t,e,n){e.snippetText=t("./lua.snippets"),e.scope="lua"}),function(){ace.require(["ace/snippets/lua"],function(t){r&&(r.exports=t)})}()})(i);var s=i.exports;const f=a(s),c=u({__proto__:null,default:f},[s]);export{c as l};
  23. //# sourceMappingURL=lua-fbfa9a77.js.map