From 7e49db5ddefe8c515b5f3931a5c701efaac33d91 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Fri, 16 Dec 2022 17:45:03 -0600 Subject: change structure for new pyssg version --- static/hl/languages/htmlbars.min.js | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 static/hl/languages/htmlbars.min.js (limited to 'static/hl/languages/htmlbars.min.js') diff --git a/static/hl/languages/htmlbars.min.js b/static/hl/languages/htmlbars.min.js deleted file mode 100644 index 6158b96..0000000 --- a/static/hl/languages/htmlbars.min.js +++ /dev/null @@ -1,30 +0,0 @@ -hljs.registerLanguage("htmlbars",(()=>{"use strict";function e(...e){ -return e.map((e=>{return(n=e)?"string"==typeof n?n:n.source:null;var n -})).join("")}return n=>{const a=(n=>{const a={ -"builtin-name":"action bindattr collection component concat debugger each each-in get hash if in input link-to loc log lookup mut outlet partial query-params render template textarea unbound unless view with yield" -},t=/\[.*?\]/,s=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,i=e("(",/'.*?'/,"|",/".*?"/,"|",t,"|",s,"|",/\.|\//,")+"),r=e("(",t,"|",s,")(?==)"),l={ -begin:i,lexemes:/[\w.\/]+/},c=n.inherit(l,{keywords:{ -literal:"true false undefined null"}}),o={begin:/\(/,end:/\)/},m={ -className:"attr",begin:r,relevance:0,starts:{begin:/=/,end:/=/,starts:{ -contains:[n.NUMBER_MODE,n.QUOTE_STRING_MODE,n.APOS_STRING_MODE,c,o]}}},d={ -contains:[n.NUMBER_MODE,n.QUOTE_STRING_MODE,n.APOS_STRING_MODE,{begin:/as\s+\|/, -keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},m,c,o],returnEnd:!0 -},g=n.inherit(l,{className:"name",keywords:a,starts:n.inherit(d,{end:/\)/})}) -;o.contains=[g];const b=n.inherit(l,{keywords:a,className:"name", -starts:n.inherit(d,{end:/\}\}/})}),u=n.inherit(l,{keywords:a,className:"name" -}),h=n.inherit(l,{className:"name",keywords:a,starts:n.inherit(d,{end:/\}\}/})}) -;return{name:"Handlebars", -aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0, -subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/, -skip:!0},n.COMMENT(/\{\{!--/,/--\}\}/),n.COMMENT(/\{\{!/,/\}\}/),{ -className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[b], -starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{ -className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[u]},{ -className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[b]},{ -className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{ -className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if" -},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[u]},{ -className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[h]},{ -className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[h]}]}})(n) -;return a.name="HTMLbars",n.getLanguage("handlebars")&&(a.disableAutodetect=!0), -a}})()); \ No newline at end of file -- cgit v1.2.3-70-g09d2