aboutsummaryrefslogtreecommitdiff
path: root/node_modules/highlight.js/lib/languages/htmlbars.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
commitcc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch)
tree92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/highlight.js/lib/languages/htmlbars.js
parent3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff)
remove node_modules
Diffstat (limited to 'node_modules/highlight.js/lib/languages/htmlbars.js')
-rw-r--r--node_modules/highlight.js/lib/languages/htmlbars.js70
1 files changed, 0 insertions, 70 deletions
diff --git a/node_modules/highlight.js/lib/languages/htmlbars.js b/node_modules/highlight.js/lib/languages/htmlbars.js
deleted file mode 100644
index 0c13380f6..000000000
--- a/node_modules/highlight.js/lib/languages/htmlbars.js
+++ /dev/null
@@ -1,70 +0,0 @@
-module.exports = function(hljs) {
- var BUILT_INS = 'action collection component concat debugger each each-in else get hash if input link-to loc log mut outlet partial query-params render textarea unbound unless with yield view';
-
- var ATTR_ASSIGNMENT = {
- illegal: /\}\}/,
- begin: /[a-zA-Z0-9_]+=/,
- returnBegin: true,
- relevance: 0,
- contains: [
- {
- className: 'attr', begin: /[a-zA-Z0-9_]+/
- }
- ]
- };
-
- var SUB_EXPR = {
- illegal: /\}\}/,
- begin: /\)/, end: /\)/,
- contains: [
- {
- begin: /[a-zA-Z\.\-]+/,
- keywords: {built_in: BUILT_INS},
- starts: {
- endsWithParent: true, relevance: 0,
- contains: [
- hljs.QUOTE_STRING_MODE,
- ]
- }
- }
- ]
- };
-
- var TAG_INNARDS = {
- endsWithParent: true, relevance: 0,
- keywords: {keyword: 'as', built_in: BUILT_INS},
- contains: [
- hljs.QUOTE_STRING_MODE,
- ATTR_ASSIGNMENT,
- hljs.NUMBER_MODE
- ]
- };
-
- return {
- case_insensitive: true,
- subLanguage: 'xml',
- contains: [
- hljs.COMMENT('{{!(--)?', '(--)?}}'),
- {
- className: 'template-tag',
- begin: /\{\{[#\/]/, end: /\}\}/,
- contains: [
- {
- className: 'name',
- begin: /[a-zA-Z\.\-]+/,
- keywords: {'builtin-name': BUILT_INS},
- starts: TAG_INNARDS
- }
- ]
- },
- {
- className: 'template-variable',
- begin: /\{\{[a-zA-Z][a-zA-Z\-]+/, end: /\}\}/,
- keywords: {keyword: 'as', built_in: BUILT_INS},
- contains: [
- hljs.QUOTE_STRING_MODE
- ]
- }
- ]
- };
-}; \ No newline at end of file