diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-10-03 16:31:57 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-10-03 16:31:57 +0300 |
commit | 4bbbee4df18f458786396a54afab742d4f1c9024 (patch) | |
tree | bcfcee4205e9f6b7f7dc8c588a8c0dec6cc36e7f /js/highlight/moonscript.js | |
parent | 8f2fab223fb2927cc6fbe8b74f868b0bf44a8b98 (diff) |
Fix NPM audit
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'js/highlight/moonscript.js')
-rw-r--r-- | js/highlight/moonscript.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/highlight/moonscript.js b/js/highlight/moonscript.js index 30ddff893..0a0f51603 100644 --- a/js/highlight/moonscript.js +++ b/js/highlight/moonscript.js @@ -1,2 +1,2 @@ (window.textWebpackJsonp=window.textWebpackJsonp||[]).push([[111],{193:function(e,n){e.exports=function(e){var n={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},s="[A-Za-z$_][0-9A-Za-z$_]*",a={className:"subst",begin:/#\{/,end:/}/,keywords:n},t=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];a.contains=t;var i=e.inherit(e.TITLE_MODE,{begin:s}),r={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:n,contains:["self"].concat(t)}]};return{aliases:["moon"],keywords:n,illegal:/\/\*/,contains:t.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+s+"\\s*=\\s*(\\(.*\\))?\\s*\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[i,r]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:"(\\(.*\\))?\\s*\\B[-=]>",end:"[-=]>",returnBegin:!0,contains:[r]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[i]},i]},{className:"name",begin:s+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}}}]); -//# sourceMappingURL=moonscript.js.map?v=60cbd5dc202a550768ed
\ No newline at end of file +//# sourceMappingURL=moonscript.js.map?v=d9d18b283abe77a9ac5c
\ No newline at end of file |