diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2023-05-01 09:35:25 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2023-05-01 09:35:25 -0600 |
commit | f797bb14f7413df2abac6326c6df769004e50aa1 (patch) | |
tree | 20850afbf9d45adbbcc6fc3a7aecedfa34db830c /pyssg.xyz/live/static/hl/languages/groovy.min.js | |
parent | 127130ab909dac8886f45ec856f1d1bce3c7bcc0 (diff) |
small bugfix, add toc settings, update example site and delete unnecessary static assets
Diffstat (limited to 'pyssg.xyz/live/static/hl/languages/groovy.min.js')
-rw-r--r-- | pyssg.xyz/live/static/hl/languages/groovy.min.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/pyssg.xyz/live/static/hl/languages/groovy.min.js b/pyssg.xyz/live/static/hl/languages/groovy.min.js deleted file mode 100644 index c39165a..0000000 --- a/pyssg.xyz/live/static/hl/languages/groovy.min.js +++ /dev/null @@ -1,19 +0,0 @@ -hljs.registerLanguage("groovy",(()=>{"use strict";function e(e,n={}){ -return n.variants=e,n}return n=>{ -const a="[A-Za-z0-9_$]+",t=e([n.C_LINE_COMMENT_MODE,n.C_BLOCK_COMMENT_MODE,n.COMMENT("/\\*\\*","\\*/",{ -relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag", -begin:"@[A-Za-z]+"}]})]),s={className:"regexp",begin:/~?\/[^\/\n]+\//, -contains:[n.BACKSLASH_ESCAPE] -},i=e([n.BINARY_NUMBER_MODE,n.C_NUMBER_MODE]),r=e([{begin:/"""/,end:/"""/},{ -begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10 -},n.APOS_STRING_MODE,n.QUOTE_STRING_MODE],{className:"string"});return{ -name:"Groovy",keywords:{built_in:"this super",literal:"true false null", -keyword:"byte short char int long boolean float double void def as in assert trait abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof" -},contains:[n.SHEBANG({binary:"groovy",relevance:10}),t,r,s,i,{ -className:"class",beginKeywords:"class interface trait enum",end:/\{/, -illegal:":",contains:[{beginKeywords:"extends implements" -},n.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"@[A-Za-z]+",relevance:0},{ -className:"attr",begin:a+"[ \t]*:"},{begin:/\?/,end:/:/,relevance:0, -contains:[t,r,s,i,"self"]},{className:"symbol", -begin:"^[ \t]*"+(l=a+":",((...e)=>e.map((e=>(e=>e?"string"==typeof e?e:e.source:null)(e))).join(""))("(?=",l,")")), -excludeBegin:!0,end:a+":",relevance:0}],illegal:/#|<\//};var l}})());
\ No newline at end of file |