velocity-0db220de.js 1.4 KB

123456789101112131415161718192021222324252627282930
  1. import{g as s}from"./index-693c203b.js";function a(o,r){for(var t=0;t<r.length;t++){const e=r[t];if(typeof e!="string"&&!Array.isArray(e)){for(const n in e)if(n!=="default"&&!(n in o)){const i=Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(o,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var c={exports:{}};(function(o,r){ace.define("ace/snippets/velocity.snippets",["require","exports","module"],function(t,e,n){n.exports=`# macro
  2. snippet #macro
  3. #macro ( \${1:macroName} \${2:\\$var1, [\\$var2, ...]} )
  4. \${3:## macro code}
  5. #end
  6. # foreach
  7. snippet #foreach
  8. #foreach ( \${1:\\$item} in \${2:\\$collection} )
  9. \${3:## foreach code}
  10. #end
  11. # if
  12. snippet #if
  13. #if ( \${1:true} )
  14. \${0}
  15. #end
  16. # if ... else
  17. snippet #ife
  18. #if ( \${1:true} )
  19. \${2}
  20. #else
  21. \${0}
  22. #end
  23. #import
  24. snippet #import
  25. #import ( "\${1:path/to/velocity/format}" )
  26. # set
  27. snippet #set
  28. #set ( $\${1:var} = \${0} )
  29. `}),ace.define("ace/snippets/velocity",["require","exports","module","ace/snippets/velocity.snippets"],function(t,e,n){e.snippetText=t("./velocity.snippets"),e.scope="velocity",e.includeScopes=["html","javascript","css"]}),function(){ace.require(["ace/snippets/velocity"],function(t){o&&(o.exports=t)})}()})(c);var p=c.exports;const f=s(p),u=a({__proto__:null,default:f},[p]);export{u as v};
  30. //# sourceMappingURL=velocity-0db220de.js.map