summaryrefslogtreecommitdiff
path: root/docs/assets/unpkg.com/[email protected]/components/prism-lua.min.js
diff options
context:
space:
mode:
authorruki <[email protected]>2017-03-04 15:58:03 +0800
committerruki <[email protected]>2017-03-04 15:58:03 +0800
commit29dbdab985d8ee3b436a3f00872bbf5ebfa45274 (patch)
tree1438ae6e3def3923cfbc65793b07c06be858be1d /docs/assets/unpkg.com/[email protected]/components/prism-lua.min.js
parentb31968dbb334bedcd379b364acc9aec9d5330d0c (diff)
add js assets for docs
Diffstat (limited to 'docs/assets/unpkg.com/[email protected]/components/prism-lua.min.js')
-rw-r--r--docs/assets/unpkg.com/[email protected]/components/prism-lua.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/assets/unpkg.com/[email protected]/components/prism-lua.min.js b/docs/assets/unpkg.com/[email protected]/components/prism-lua.min.js
new file mode 100644
index 000000000..8bf9c8281
--- /dev/null
+++ b/docs/assets/unpkg.com/[email protected]/components/prism-lua.min.js
@@ -0,0 +1 @@
+Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[\s\S]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+\.?[a-f\d]*(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|\.?\d*(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,"function":/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}; \ No newline at end of file