aboutsummaryrefslogtreecommitdiff
path: root/includes/js/dojox/highlight/languages
diff options
context:
space:
mode:
Diffstat (limited to 'includes/js/dojox/highlight/languages')
-rw-r--r--includes/js/dojox/highlight/languages/_all.js11
-rw-r--r--includes/js/dojox/highlight/languages/_dynamic.js11
-rw-r--r--includes/js/dojox/highlight/languages/_static.js10
-rw-r--r--includes/js/dojox/highlight/languages/_www.js12
-rw-r--r--includes/js/dojox/highlight/languages/cpp.js53
-rw-r--r--includes/js/dojox/highlight/languages/css.js96
-rw-r--r--includes/js/dojox/highlight/languages/delphi.js122
-rw-r--r--includes/js/dojox/highlight/languages/django.js97
-rw-r--r--includes/js/dojox/highlight/languages/html.js70
-rw-r--r--includes/js/dojox/highlight/languages/javascript.js55
-rw-r--r--includes/js/dojox/highlight/languages/pygments/_html.js25
-rw-r--r--includes/js/dojox/highlight/languages/pygments/_www.js12
-rw-r--r--includes/js/dojox/highlight/languages/pygments/css.js211
-rw-r--r--includes/js/dojox/highlight/languages/pygments/html.js101
-rw-r--r--includes/js/dojox/highlight/languages/pygments/javascript.js152
-rw-r--r--includes/js/dojox/highlight/languages/pygments/xml.js79
-rw-r--r--includes/js/dojox/highlight/languages/python.js102
-rw-r--r--includes/js/dojox/highlight/languages/sql.js101
-rw-r--r--includes/js/dojox/highlight/languages/xml.js69
19 files changed, 0 insertions, 1389 deletions
diff --git a/includes/js/dojox/highlight/languages/_all.js b/includes/js/dojox/highlight/languages/_all.js
deleted file mode 100644
index 5097046..0000000
--- a/includes/js/dojox/highlight/languages/_all.js
+++ /dev/null
@@ -1,11 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages._all"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages._all"] = true;
-dojo.provide("dojox.highlight.languages._all");
-
-/* groups of similar languages */
-dojo.require("dojox.highlight.languages._static");
-dojo.require("dojox.highlight.languages._dynamic");
-dojo.require("dojox.highlight.languages._www");
-
-
-}
diff --git a/includes/js/dojox/highlight/languages/_dynamic.js b/includes/js/dojox/highlight/languages/_dynamic.js
deleted file mode 100644
index a3b510b..0000000
--- a/includes/js/dojox/highlight/languages/_dynamic.js
+++ /dev/null
@@ -1,11 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages._dynamic"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages._dynamic"] = true;
-dojo.provide("dojox.highlight.languages._dynamic");
-
-/* common scripted languages */
-dojo.require("dojox.highlight.languages.python");
-// dojo.require("dojox.highlight.languages.perl");
-// dojo.require("dojox.highlight.languages.php");
-// dojo.require("dojox.highlight.languages.ruby");
-
-}
diff --git a/includes/js/dojox/highlight/languages/_static.js b/includes/js/dojox/highlight/languages/_static.js
deleted file mode 100644
index 85212b4..0000000
--- a/includes/js/dojox/highlight/languages/_static.js
+++ /dev/null
@@ -1,10 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages._static"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages._static"] = true;
-dojo.provide("dojox.highlight.languages._static");
-
-/* common static languages */
-dojo.require("dojox.highlight.languages.cpp")
-// dojo.require("dojox.highlight.languages.java");
-dojo.require("dojox.highlight.languages.delphi");
-
-}
diff --git a/includes/js/dojox/highlight/languages/_www.js b/includes/js/dojox/highlight/languages/_www.js
deleted file mode 100644
index a04f073..0000000
--- a/includes/js/dojox/highlight/languages/_www.js
+++ /dev/null
@@ -1,12 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages._www"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages._www"] = true;
-dojo.provide("dojox.highlight.languages._www");
-
-/* common web-centric languages */
-dojo.require("dojox.highlight.languages.xml");
-dojo.require("dojox.highlight.languages.html");
-dojo.require("dojox.highlight.languages.css");
-dojo.require("dojox.highlight.languages.django");
-dojo.require("dojox.highlight.languages.javascript");
-
-}
diff --git a/includes/js/dojox/highlight/languages/cpp.js b/includes/js/dojox/highlight/languages/cpp.js
deleted file mode 100644
index 1e9edf2..0000000
--- a/includes/js/dojox/highlight/languages/cpp.js
+++ /dev/null
@@ -1,53 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.cpp"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.cpp"] = true;
-dojo.provide("dojox.highlight.languages.cpp");
-
-dojo.require("dojox.highlight._base");
-
-(function(){
- var dh = dojox.highlight, dhc = dh.constants;
- dh.languages.cpp = {
- // summary: C++ highlight definitions
- defaultMode: {
- lexems: [dhc.UNDERSCORE_IDENT_RE],
- illegal: '</',
- contains: ['comment', 'string', 'number', 'preprocessor'],
- keywords: {
- 'false': 1, 'int': 1, 'float': 1, 'while': 1, 'private': 1,
- 'char': 1, 'catch': 1, 'export': 1, 'virtual': 1,
- 'operator': 2, 'sizeof': 2, 'dynamic_cast': 2, 'typedef': 2,
- 'const_cast': 2, 'const': 1, 'struct': 1, 'for': 1,
- 'static_cast': 2, 'union': 1, 'namespace': 1, 'unsigned': 1,
- 'long': 1, 'throw': 1, 'volatile': 2, 'static': 1,
- 'protected': 1, 'bool': 1, 'template': 1, 'mutable': 1,
- 'if': 1, 'public': 1, 'friend': 2, 'do': 1, 'return': 1,
- 'goto': 1, 'auto': 1, 'void': 2, 'enum': 1, 'else': 1,
- 'break': 1, 'new': 1, 'extern': 1, 'using': 1, 'true': 1,
- 'class': 1, 'asm': 1, 'case': 1, 'typeid': 1, 'short': 1,
- 'reinterpret_cast': 2, 'default': 1, 'double': 1,
- 'register': 1, 'explicit': 1, 'signed': 1, 'typename': 1,
- 'try': 1, 'this': 1, 'switch': 1, 'continue': 1, 'wchar_t': 1,
- 'inline': 1, 'delete': 1
- }
- },
- modes: [
- dhc.C_LINE_COMMENT_MODE,
- dhc.C_BLOCK_COMMENT_MODE,
- dhc.C_NUMBER_MODE,
- dhc.QUOTE_STRING_MODE,
- dhc.BACKSLASH_ESCAPE,
- {
- className: 'string',
- begin: '\'',
- end: '[^\\\\]\'',
- illegal: '[^\\\\][^\']'
- },
- {
- className: 'preprocessor',
- begin: '#', end: '$'
- }
- ]
- };
-})();
-
-}
diff --git a/includes/js/dojox/highlight/languages/css.js b/includes/js/dojox/highlight/languages/css.js
deleted file mode 100644
index 7dfead0..0000000
--- a/includes/js/dojox/highlight/languages/css.js
+++ /dev/null
@@ -1,96 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.css"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.css"] = true;
-dojo.provide("dojox.highlight.languages.css");
-
-dojo.require("dojox.highlight._base");
-dojo.require("dojox.highlight.languages.html");
-
-(function(){
- var dh = dojox.highlight, dhc = dh.constants, dhl = dh.languages;
- dhl.css = {
- defaultMode: {
- contains: ['id', 'class', 'attr_selector', 'rules', 'comment'],
- keywords: dhl.html.HTML_TAGS,
- lexems: [dhc.IDENT_RE],
- illegal: '='
- },
- case_insensitive: true,
- modes: [
- {
- className: 'id',
- begin: '\\#[A-Za-z0-9_-]+', end: '^'
- },
- {
- className: 'class',
- begin: '\\.[A-Za-z0-9_-]+', end: '^',
- relevance: 0
- },
- {
- className: 'attr_selector',
- begin: '\\[', end: '\\]',
- illegal: '$'
- },
- {
- className: 'rules',
- begin: '{', end: '}',
- lexems: ['[A-Za-z-]+'],
- keywords: {
- 'play-during': 1, 'counter-reset': 1,
- 'counter-increment': 1, 'min-height': 1, 'quotes': 1,
- 'border-top': 1, 'pitch': 1, 'font': 1, 'pause': 1,
- 'list-style-image': 1, 'border-width': 1, 'cue': 1,
- 'outline-width': 1, 'border-left': 1, 'elevation': 1,
- 'richness': 1, 'speech-rate': 1, 'border-bottom': 1,
- 'border-spacing': 1, 'background': 1, 'list-style-type': 1,
- 'text-align': 1, 'page-break-inside': 1, 'orphans': 1,
- 'page-break-before': 1, 'text-transform': 1,
- 'line-height': 1, 'padding-left': 1, 'font-size': 1,
- 'right': 1, 'word-spacing': 1, 'padding-top': 1,
- 'outline-style': 1, 'bottom': 1, 'content': 1,
- 'border-right-style': 1, 'padding-right': 1,
- 'border-left-style': 1, 'voice-family': 1,
- 'background-color': 1, 'border-bottom-color': 1,
- 'outline-color': 1, 'unicode-bidi': 1, 'max-width': 1,
- 'font-family': 1, 'caption-side': 1,
- 'border-right-width': 1, 'pause-before': 1,
- 'border-top-style': 1, 'color': 1, 'border-collapse': 1,
- 'border-bottom-width': 1, 'float': 1, 'height': 1,
- 'max-height': 1, 'margin-right': 1, 'border-top-width': 1,
- 'speak': 1, 'speak-header': 1, 'top': 1, 'cue-before': 1,
- 'min-width': 1, 'width': 1, 'font-variant': 1,
- 'border-top-color': 1, 'background-position': 1,
- 'empty-cells': 1, 'direction': 1, 'border-right': 1,
- 'visibility': 1, 'padding': 1, 'border-style': 1,
- 'background-attachment': 1, 'overflow': 1,
- 'border-bottom-style': 1, 'cursor': 1, 'margin': 1,
- 'display': 1, 'border-left-width': 1, 'letter-spacing': 1,
- 'vertical-align': 1, 'clip': 1, 'border-color': 1,
- 'list-style': 1, 'padding-bottom': 1, 'pause-after': 1,
- 'speak-numeral': 1, 'margin-left': 1, 'widows': 1,
- 'border': 1, 'font-style': 1, 'border-left-color': 1,
- 'pitch-range': 1, 'background-repeat': 1,
- 'table-layout': 1, 'margin-bottom': 1,
- 'speak-punctuation': 1, 'font-weight': 1,
- 'border-right-color': 1, 'page-break-after': 1,
- 'position': 1, 'white-space': 1, 'text-indent': 1,
- 'background-image': 1, 'volume': 1, 'stress': 1,
- 'outline': 1, 'clear': 1, 'z-index': 1,
- 'text-decoration': 1, 'margin-top': 1, 'azimuth': 1,
- 'cue-after': 1, 'left': 1, 'list-style-position': 1
- },
- contains: ['comment', 'value']
- },
- dhc.C_BLOCK_COMMENT_MODE,
- {
- className: 'value',
- begin: ':',
- end: ';',
- endsWithParent: true,
- excludeBegin: true,
- excludeEnd: true
- }
- ]
- };
-})();
-
-}
diff --git a/includes/js/dojox/highlight/languages/delphi.js b/includes/js/dojox/highlight/languages/delphi.js
deleted file mode 100644
index ac97409..0000000
--- a/includes/js/dojox/highlight/languages/delphi.js
+++ /dev/null
@@ -1,122 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.delphi"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.delphi"] = true;
-dojo.provide("dojox.highlight.languages.delphi");
-
-dojo.require("dojox.highlight._base");
-
-(function(){
- var DELPHI_KEYWORDS = {
- 'and': 1, 'safecall': 1, 'cdecl': 1, 'then': 1, 'string': 1,
- 'exports': 1, 'library': 1, 'not': 1, 'pascal': 1, 'set': 1,
- 'virtual': 1, 'file': 1, 'in': 1, 'array': 1, 'label': 1, 'packed': 1,
- 'end.': 1, 'index': 1, 'while': 1, 'const': 1, 'raise': 1, 'for': 1,
- 'to': 1, 'implementation': 1, 'with': 1, 'except': 1, 'overload': 1,
- 'destructor': 1, 'downto': 1, 'finally': 1, 'program': 1, 'exit': 1,
- 'unit': 1, 'inherited': 1, 'override': 1, 'if': 1, 'type': 1,
- 'until': 1, 'function': 1, 'do': 1, 'begin': 1, 'repeat': 1, 'goto': 1,
- 'nil': 1, 'far': 1, 'initialization': 1, 'object': 1, 'else': 1,
- 'var': 1, 'uses': 1, 'external': 1, 'resourcestring': 1,
- 'interface': 1, 'end': 1, 'finalization': 1, 'class': 1, 'asm': 1,
- 'mod': 1, 'case': 1, 'on': 1, 'shr': 1, 'shl': 1, 'of': 1,
- 'register': 1, 'xorwrite': 1, 'threadvar': 1, 'try': 1, 'record': 1,
- 'near': 1, 'stored': 1, 'constructor': 1, 'stdcall': 1, 'inline': 1,
- 'div': 1, 'out': 1, 'or': 1, 'procedure': 1
- };
- var DELPHI_CLASS_KEYWORDS = {
- 'safecall': 1, 'stdcall': 1, 'pascal': 1, 'stored': 1, 'const': 1,
- 'implementation': 1, 'finalization': 1, 'except': 1, 'to': 1,
- 'finally': 1, 'program': 1, 'inherited': 1, 'override': 1, 'then': 1,
- 'exports': 1, 'string': 1, 'read': 1, 'not': 1, 'mod': 1, 'shr': 1,
- 'try': 1, 'div': 1, 'shl': 1, 'set': 1, 'library': 1, 'message': 1,
- 'packed': 1, 'index': 1, 'for': 1, 'near': 1, 'overload': 1,
- 'label': 1, 'downto': 1, 'exit': 1, 'public': 1, 'goto': 1,
- 'interface': 1, 'asm': 1, 'on': 1, 'of': 1, 'constructor': 1, 'or': 1,
- 'private': 1, 'array': 1, 'unit': 1, 'raise': 1, 'destructor': 1,
- 'var': 1, 'type': 1, 'until': 1, 'function': 1, 'else': 1,
- 'external': 1, 'with': 1, 'case': 1, 'default': 1, 'record': 1,
- 'while': 1, 'protected': 1, 'property': 1, 'procedure': 1,
- 'published': 1, 'and': 1, 'cdecl': 1, 'do': 1, 'threadvar': 1,
- 'file': 1, 'in': 1, 'if': 1, 'end': 1, 'virtual': 1, 'write': 1,
- 'far': 1, 'out': 1, 'begin': 1, 'repeat': 1, 'nil': 1,
- 'initialization': 1, 'object': 1, 'uses': 1, 'resourcestring': 1,
- 'class': 1, 'register': 1, 'xorwrite': 1, 'inline': 1
- };
-
- var dh = dojox.highlight, dhc = dh.constants;
- dh.languages.delphi = {
- defaultMode: {
- lexems: [dhc.IDENT_RE],
- illegal: '("|\\$[G-Zg-z]|\\/\\*|</)',
- contains: ['comment', 'string', 'number', 'function', 'class'],
- keywords: DELPHI_KEYWORDS
- },
- case_insensitive: true,
- modes: [
- {
- className: 'comment',
- begin: '{', end: '}'
- },
- {
- className: 'comment',
- begin: '\\(\\*', end: '\\*\\)',
- relevance: 10
- },
- dhc.C_LINE_COMMENT_MODE,
- {
- className: 'number',
- begin: dhc.NUMBER_RE, end: '^',
- relevance: 0
- },
- {
- className: 'string',
- begin: '\'', end: '\'',
- contains: ['quote'],
- relevance: 0
- },
- {
- className: 'string',
- begin: '(#\\d+)+', end: '^'
- },
- {
- className: 'quote',
- begin: '\'\'', end: '^'
- },
- {
- className: 'function',
- begin: 'function', end: '[:;]',
- lexems: [dhc.IDENT_RE],
- keywords: {'function': 1},
- contains: ['title', 'params', 'comment'],
- relevance: 0
- },
- {
- className: 'function',
- begin: '(procedure|constructor|destructor)', end: ';',
- lexems: [dhc.IDENT_RE],
- keywords: {'constructor': 1, 'destructor': 1, 'procedure': 1},
- contains: ['title', 'params', 'comment'],
- relevance: 10
- },
- {
- className: 'title',
- begin: dhc.IDENT_RE, end: '^'
- },
- {
- className: 'params',
- begin: '\\(', end: '\\)',
- lexems: [dhc.IDENT_RE],
- keywords: DELPHI_KEYWORDS,
- contains: ['string']
- },
- {
- className: 'class',
- begin: '=\\s*class', end: 'end;',
- lexems: [dhc.IDENT_RE],
- keywords: DELPHI_CLASS_KEYWORDS,
- contains: ['string', 'comment', 'function']
- }
- ]
- };
-})();
-
-}
diff --git a/includes/js/dojox/highlight/languages/django.js b/includes/js/dojox/highlight/languages/django.js
deleted file mode 100644
index 26d483c..0000000
--- a/includes/js/dojox/highlight/languages/django.js
+++ /dev/null
@@ -1,97 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.django"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.django"] = true;
-dojo.provide("dojox.highlight.languages.django");
-
-dojo.require("dojox.highlight._base");
-dojo.require("dojox.highlight.languages.xml");
-dojo.require("dojox.highlight.languages.html");
-
-(function(){
- var dh = dojox.highlight, dhc = dh.constants, dhl = dh.languages, x = dhl.xml, h = dhl.html;
- dhl.django = {
- defaultMode: {
- contains: ['tag', 'comment', 'doctype', 'template_comment', 'template_tag', 'variable']
- },
- case_insensitive: true,
- modes: [
- x.XML_COMMENT,
- h.HTML_DOCTYPE,
- {
- className: 'tag',
- lexems: [dhc.IDENT_RE],
- keywords: h.HTML_TAGS,
- begin: '<[A-Za-z/]', end: '>',
- contains: ['attribute', 'template_comment', 'template_tag', 'variable']
- },
- x.XML_ATTR,
- h.HTML_ATTR,
- {
- className: 'value',
- begin: '"', end: '"',
- contains: ['template_comment', 'template_tag', 'variable']
- },
- h.HTML_VALUE,
- {
- className: 'template_comment',
- begin: '\\{\\%\\s*comment\\s*\\%\\}',
- end: '\\{\\%\\s*endcomment\\s*\\%\\}'
- },
- {
- className: 'template_comment',
- begin: '\\{#', end: '#\\}'
- },
- {
- className: 'template_tag',
- begin: '\\{\\%', end: '\\%\\}',
- lexems: [dhc.IDENT_RE],
- keywords: {
- 'comment': 1, 'endcomment': 1, 'load': 1,
- 'templatetag': 1, 'ifchanged': 1, 'endifchanged': 1,
- 'if': 1, 'endif': 1, 'firstof': 1, 'for': 1,
- 'endfor': 1, 'in': 1, 'ifnotequal': 1,
- 'endifnotequal': 1, 'widthratio': 1, 'extends': 1,
- 'include': 1, 'spaceless': 1, 'endspaceless': 1,
- 'regroup': 1, 'by': 1, 'as': 1, 'ifequal': 1,
- 'endifequal': 1, 'ssi': 1, 'now': 1, 'with': 1,
- 'cycle': 1, 'url': 1, 'filter': 1, 'endfilter': 1,
- 'debug': 1, 'block': 1, 'endblock': 1, 'else': 1
- },
- contains: ['filter']
- },
- {
- className: 'variable',
- begin: '\\{\\{', end: '\\}\\}',
- contains: ['filter']
- },
- {
- className: 'filter',
- begin: '\\|[A-Za-z]+\\:?', end: '^', excludeEnd: true,
- lexems: [dhc.IDENT_RE],
- keywords: {
- 'truncatewords': 1, 'removetags': 1, 'linebreaksbr': 1,
- 'yesno': 1, 'get_digit': 1, 'timesince': 1, 'random': 1,
- 'striptags': 1, 'filesizeformat': 1, 'escape': 1,
- 'linebreaks': 1, 'length_is': 1, 'ljust': 1, 'rjust': 1,
- 'cut': 1, 'urlize': 1, 'fix_ampersands': 1, 'title': 1,
- 'floatformat': 1, 'capfirst': 1, 'pprint': 1,
- 'divisibleby': 1, 'add': 1, 'make_list': 1,
- 'unordered_list': 1, 'urlencode': 1, 'timeuntil': 1,
- 'urlizetrunc': 1, 'wordcount': 1, 'stringformat': 1,
- 'linenumbers': 1, 'slice': 1, 'date': 1, 'dictsort': 1,
- 'dictsortreversed': 1, 'default_if_none': 1,
- 'pluralize': 1, 'lower': 1, 'join': 1, 'center': 1,
- 'default': 1, 'truncatewords_html': 1, 'upper': 1,
- 'length': 1, 'phone2numeric': 1, 'wordwrap': 1, 'time': 1,
- 'addslashes': 1, 'slugify': 1, 'first': 1
- },
- contains: ['argument']
- },
- {
- className: 'argument',
- begin: '"', end: '"'
- }
- ]
- };
-})();
-
-}
diff --git a/includes/js/dojox/highlight/languages/html.js b/includes/js/dojox/highlight/languages/html.js
deleted file mode 100644
index 0a6cc46..0000000
--- a/includes/js/dojox/highlight/languages/html.js
+++ /dev/null
@@ -1,70 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.html"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.html"] = true;
-dojo.provide("dojox.highlight.languages.html");
-
-dojo.require("dojox.highlight._base");
-dojo.require("dojox.highlight.languages.xml");
-
-(function(){
- var HTML_TAGS = {
- 'code': 1, 'kbd': 1, 'font': 1, 'noscript': 1, 'style': 1, 'img': 1,
- 'title': 1, 'menu': 1, 'tt': 1, 'tr': 1, 'param': 1, 'li': 1, 'tfoot': 1,
- 'th': 1, 'input': 1, 'td': 1, 'dl': 1, 'blockquote': 1, 'fieldset': 1,
- 'big': 1, 'dd': 1, 'abbr': 1, 'optgroup': 1, 'dt': 1, 'button': 1,
- 'isindex': 1, 'p': 1, 'small': 1, 'div': 1, 'dir': 1, 'em': 1, 'frame': 1,
- 'meta': 1, 'sub': 1, 'bdo': 1, 'label': 1, 'acronym': 1, 'sup': 1,
- 'body': 1, 'xml': 1, 'basefont': 1, 'base': 1, 'br': 1, 'address': 1,
- 'strong': 1, 'legend': 1, 'ol': 1, 'script': 1, 'caption': 1, 's': 1,
- 'col': 1, 'h2': 1, 'h3': 1, 'h1': 1, 'h6': 1, 'h4': 1, 'h5': 1, 'table': 1,
- 'select': 1, 'noframes': 1, 'span': 1, 'area': 1, 'dfn': 1, 'strike': 1,
- 'cite': 1, 'thead': 1, 'head': 1, 'option': 1, 'form': 1, 'hr': 1,
- 'var': 1, 'link': 1, 'b': 1, 'colgroup': 1, 'ul': 1, 'applet': 1, 'del': 1,
- 'iframe': 1, 'pre': 1, 'frameset': 1, 'ins': 1, 'tbody': 1, 'html': 1,
- 'samp': 1, 'map': 1, 'object': 1, 'a': 1, 'xmlns': 1, 'center': 1,
- 'textarea': 1, 'i': 1, 'q': 1, 'u': 1
- };
- var HTML_DOCTYPE = {
- className: 'doctype',
- begin: '<!DOCTYPE', end: '>',
- relevance: 10
- };
- var HTML_ATTR = {
- className: 'attribute',
- begin: ' [a-zA-Z]+', end: '^'
- };
- var HTML_VALUE = {
- className: 'value',
- begin: '[a-zA-Z0-9]+', end: '^'
- };
-
- var dh = dojox.highlight, dhc = dh.constants, dhl = dh.languages, x = dhl.xml;
- dhl.html = {
- defaultMode: {
- contains: ['tag', 'comment', 'doctype']
- },
- case_insensitive: true,
- modes: [
- x.XML_COMMENT,
- HTML_DOCTYPE,
- {
- className: 'tag',
- lexems: [dhc.IDENT_RE],
- keywords: HTML_TAGS,
- begin: '<[A-Za-z/]', end: '>',
- contains: ['attribute'],
- illegal: '[\\+\\.]'
- },
- x.XML_ATTR,
- HTML_ATTR,
- x.XML_VALUE,
- HTML_VALUE
- ],
- // exporting constants
- HTML_TAGS: HTML_TAGS,
- HTML_DOCTYPE: HTML_DOCTYPE,
- HTML_ATTR: HTML_ATTR,
- HTML_VALUE: HTML_VALUE
- };
-})();
-
-}
diff --git a/includes/js/dojox/highlight/languages/javascript.js b/includes/js/dojox/highlight/languages/javascript.js
deleted file mode 100644
index 587cb07..0000000
--- a/includes/js/dojox/highlight/languages/javascript.js
+++ /dev/null
@@ -1,55 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.javascript"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.javascript"] = true;
-dojo.provide("dojox.highlight.languages.javascript");
-
-dojo.require("dojox.highlight._base");
-
-(function(){
- var dh = dojox.highlight, dhc = dh.constants;
- dh.languages.javascript = {
- defaultMode: {
- lexems: [dhc.UNDERSCORE_IDENT_RE],
- contains: ['string', 'comment', 'number', 'regexp', 'function'],
- keywords: {
- 'keyword': {
- 'in': 1, 'if': 1, 'for': 1, 'while': 1, 'finally': 1, 'var': 1,
- 'new': 1, 'function': 1, 'do': 1, 'return': 1, 'void': 1,
- 'else': 1, 'break': 1, 'catch': 1, 'instanceof': 1, 'with': 1,
- 'throw': 1, 'case': 1, 'default': 1, 'try': 1, 'this': 1,
- 'switch': 1, 'continue': 1, 'typeof': 1, 'delete': 1
- },
- 'literal': {'true': 1, 'false': 1, 'null': 1}
- }
- },
- modes: [
- dhc.C_LINE_COMMENT_MODE,
- dhc.C_BLOCK_COMMENT_MODE,
- dhc.C_NUMBER_MODE,
- dhc.APOS_STRING_MODE,
- dhc.QUOTE_STRING_MODE,
- dhc.BACKSLASH_ESCAPE,
- {
- className: 'regexp',
- begin: '/.*?[^\\\\/]/[gim]*', end: '^'
- },
- {
- className: 'function',
- begin: 'function\\b', end: '{',
- lexems: [dhc.UNDERSCORE_IDENT_RE],
- keywords: {'function': 1},
- contains: ['title', 'params']
- },
- {
- className: 'title',
- begin: dhc.UNDERSCORE_IDENT_RE, end: '^'
- },
- {
- className: 'params',
- begin: '\\(', end: '\\)',
- contains: ['string', 'comment']
- }
- ]
- };
-})();
-
-}
diff --git a/includes/js/dojox/highlight/languages/pygments/_html.js b/includes/js/dojox/highlight/languages/pygments/_html.js
deleted file mode 100644
index 64b3bfa..0000000
--- a/includes/js/dojox/highlight/languages/pygments/_html.js
+++ /dev/null
@@ -1,25 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.pygments._html"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.pygments._html"] = true;
-dojo.provide("dojox.highlight.languages.pygments._html");
-
-// html-related constants
-
-dojox.highlight.languages.pygments._html.tags = {
- "code": 1, "kbd": 1, "font": 1, "noscript": 1, "style": 1, "img": 1,
- "title": 1, "menu": 1, "tt": 1, "tr": 1, "param": 1, "li": 1, "tfoot": 1,
- "th": 1, "input": 1, "td": 1, "dl": 1, "blockquote": 1, "fieldset": 1,
- "big": 1, "dd": 1, "abbr": 1, "optgroup": 1, "dt": 1, "button": 1,
- "isindex": 1, "p": 1, "small": 1, "div": 1, "dir": 1, "em": 1, "frame": 1,
- "meta": 1, "sub": 1, "bdo": 1, "label": 1, "acronym": 1, "sup": 1,
- "body": 1, "xml": 1, "basefont": 1, "base": 1, "br": 1, "address": 1,
- "strong": 1, "legend": 1, "ol": 1, "script": 1, "caption": 1, "s": 1,
- "col": 1, "h2": 1, "h3": 1, "h1": 1, "h6": 1, "h4": 1, "h5": 1, "table": 1,
- "select": 1, "noframes": 1, "span": 1, "area": 1, "dfn": 1, "strike": 1,
- "cite": 1, "thead": 1, "head": 1, "option": 1, "form": 1, "hr": 1,
- "var": 1, "link": 1, "b": 1, "colgroup": 1, "ul": 1, "applet": 1, "del": 1,
- "iframe": 1, "pre": 1, "frameset": 1, "ins": 1, "tbody": 1, "html": 1,
- "samp": 1, "map": 1, "object": 1, "a": 1, "xmlns": 1, "center": 1,
- "textarea": 1, "i": 1, "q": 1, "u": 1
-};
-
-}
diff --git a/includes/js/dojox/highlight/languages/pygments/_www.js b/includes/js/dojox/highlight/languages/pygments/_www.js
deleted file mode 100644
index 648ed6e..0000000
--- a/includes/js/dojox/highlight/languages/pygments/_www.js
+++ /dev/null
@@ -1,12 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.pygments._www"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.pygments._www"] = true;
-dojo.provide("dojox.highlight.languages.pygments._www");
-
-/* common web-centric languages */
-dojo.require("dojox.highlight.languages.pygments.xml");
-dojo.require("dojox.highlight.languages.pygments.html");
-dojo.require("dojox.highlight.languages.pygments.css");
-//dojo.require("dojox.highlight.languages.pygments.django");
-dojo.require("dojox.highlight.languages.pygments.javascript");
-
-}
diff --git a/includes/js/dojox/highlight/languages/pygments/css.js b/includes/js/dojox/highlight/languages/pygments/css.js
deleted file mode 100644
index bfb0680..0000000
--- a/includes/js/dojox/highlight/languages/pygments/css.js
+++ /dev/null
@@ -1,211 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.pygments.css"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.pygments.css"] = true;
-dojo.provide("dojox.highlight.languages.pygments.css");
-
-dojo.require("dojox.highlight._base");
-dojo.require("dojox.highlight.languages.pygments._html");
-
-(function(){
- var dh = dojox.highlight, dhl = dh.languages;
- dhl.css = {
- defaultMode: {
- lexems: ["\\b[a-zA-Z0-9]+\\b", "\\b@media\b"],
- keywords: {
- "keyword": {
- "@media": 1
- },
- "name tag": dhl.pygments._html.tags
- },
- contains: [
- "comment",
- "string single", "string double",
- "punctuation",
- "name decorator", "name class", "name function",
- "_content"
- ]
- },
- modes: [
- // comments
- {
- className: "comment",
- begin: "/\\*", end: "\\*/",
- relevance: 0
- },
- {
- className: "comment preproc",
- begin: "@[a-z][a-zA-Z]*", end: "^"
- },
- {
- className: "comment preproc",
- begin: "\\!important\\b", end: "^"
- },
-
- // numbers
- {
- className: "number",
- begin: "\\#[a-fA-F0-9]{3}\\b", end: "^",
- relevance: 0
- },
- {
- className: "number",
- begin: "\\#[a-fA-F0-9]{6}\\b", end: "^",
- relevance: 0
- },
- {
- className: "number",
- begin: "[\\.\\-]?[0-9]*[\\.]?[0-9]+(em|px|\\%|pt|pc|in|mm|cm|ex)", end: "^",
- relevance: 0
- },
- {
- className: "number",
- begin: "\\-?[0-9]+", end: "^",
- relevance: 0
- },
-
- // strings
- {
- className: "string single",
- begin: "'", end: "'",
- illegal: "\\n",
- relevance: 0
- },
- {
- className: "string double",
- begin: '"',
- end: '"',
- illegal: "\\n",
- relevance: 0
- },
-
- // operators
- {
- className: "operator",
- begin: "[~\\^\\*!%&\\[\\]\\(\\)<>\\|+=@:;,./?-]", end: "^",
- relevance: 0
- },
-
- // punctuations
- {
- className: "punctuation",
- begin: "[\\[\\]();]+", end: "^",
- relevance: 0
- },
-
- // names
- {
- className: "name decorator",
- begin: "\\:[a-zA-Z0-9_\\-]+\\b", end: "^"
- },
- {
- className: "name class",
- begin: "\\.[a-zA-Z0-9_\\-]+\\b", end: "^"
- },
- {
- className: "name function",
- begin: "\\#[a-zA-Z0-9_\\-]+\\b", end: "^"
- },
- {
- className: "_content",
- begin: "\\{", end: "\\}",
- lexems: ["\\b[a-zA-Z\\-]+\\b"],
- keywords: {
- "keyword": {
- "azimuth": 1, "background-attachment": 1, "background-color": 1,
- "background-image": 1, "background-position": 1, "background-repeat": 1,
- "background": 1, "border-bottom-color": 1, "border-bottom-style": 1,
- "border-bottom-width": 1, "border-left-color": 1, "border-left-style": 1,
- "border-left-width": 1, "border-right": 1, "border-right-color": 1,
- "border-right-style": 1, "border-right-width": 1, "border-top-color": 1,
- "border-top-style": 1, "border-top-width": 1, "border-bottom": 1,
- "border-collapse": 1, "border-left": 1, "border-width": 1, "border-color": 1,
- "border-spacing": 1, "border-style": 1, "border-top": 1, "border": 1, "caption-side": 1,
- "clear": 1, "clip": 1, "color": 1, "content": 1, "counter-increment": 1, "counter-reset": 1,
- "cue-after": 1, "cue-before": 1, "cue": 1, "cursor": 1, "direction": 1, "display": 1,
- "elevation": 1, "empty-cells": 1, "float": 1, "font-family": 1, "font-size": 1,
- "font-size-adjust": 1, "font-stretch": 1, "font-style": 1, "font-variant": 1,
- "font-weight": 1, "font": 1, "height": 1, "letter-spacing": 1, "line-height": 1,
- "list-style-type": 1, "list-style-image": 1, "list-style-position": 1,
- "list-style": 1, "margin-bottom": 1, "margin-left": 1, "margin-right": 1,
- "margin-top": 1, "margin": 1, "marker-offset": 1, "marks": 1, "max-height": 1, "max-width": 1,
- "min-height": 1, "min-width": 1, "opacity": 1, "orphans": 1, "outline": 1, "outline-color": 1,
- "outline-style": 1, "outline-width": 1, "overflow": 1, "padding-bottom": 1,
- "padding-left": 1, "padding-right": 1, "padding-top": 1, "padding": 1, "page": 1,
- "page-break-after": 1, "page-break-before": 1, "page-break-inside": 1,
- "pause-after": 1, "pause-before": 1, "pause": 1, "pitch": 1, "pitch-range": 1,
- "play-during": 1, "position": 1, "quotes": 1, "richness": 1, "right": 1, "size": 1,
- "speak-header": 1, "speak-numeral": 1, "speak-punctuation": 1, "speak": 1,
- "speech-rate": 1, "stress": 1, "table-layout": 1, "text-align": 1, "text-decoration": 1,
- "text-indent": 1, "text-shadow": 1, "text-transform": 1, "top": 1, "unicode-bidi": 1,
- "vertical-align": 1, "visibility": 1, "voice-family": 1, "volume": 1, "white-space": 1,
- "widows": 1, "width": 1, "word-spacing": 1, "z-index": 1, "bottom": 1, "left": 1,
- "above": 1, "absolute": 1, "always": 1, "armenian": 1, "aural": 1, "auto": 1, "avoid": 1, "baseline": 1,
- "behind": 1, "below": 1, "bidi-override": 1, "blink": 1, "block": 1, "bold": 1, "bolder": 1, "both": 1,
- "capitalize": 1, "center-left": 1, "center-right": 1, "center": 1, "circle": 1,
- "cjk-ideographic": 1, "close-quote": 1, "collapse": 1, "condensed": 1, "continuous": 1,
- "crop": 1, "crosshair": 1, "cross": 1, "cursive": 1, "dashed": 1, "decimal-leading-zero": 1,
- "decimal": 1, "default": 1, "digits": 1, "disc": 1, "dotted": 1, "double": 1, "e-resize": 1, "embed": 1,
- "extra-condensed": 1, "extra-expanded": 1, "expanded": 1, "fantasy": 1, "far-left": 1,
- "far-right": 1, "faster": 1, "fast": 1, "fixed": 1, "georgian": 1, "groove": 1, "hebrew": 1, "help": 1,
- "hidden": 1, "hide": 1, "higher": 1, "high": 1, "hiragana-iroha": 1, "hiragana": 1, "icon": 1,
- "inherit": 1, "inline-table": 1, "inline": 1, "inset": 1, "inside": 1, "invert": 1, "italic": 1,
- "justify": 1, "katakana-iroha": 1, "katakana": 1, "landscape": 1, "larger": 1, "large": 1,
- "left-side": 1, "leftwards": 1, "level": 1, "lighter": 1, "line-through": 1, "list-item": 1,
- "loud": 1, "lower-alpha": 1, "lower-greek": 1, "lower-roman": 1, "lowercase": 1, "ltr": 1,
- "lower": 1, "low": 1, "medium": 1, "message-box": 1, "middle": 1, "mix": 1, "monospace": 1,
- "n-resize": 1, "narrower": 1, "ne-resize": 1, "no-close-quote": 1, "no-open-quote": 1,
- "no-repeat": 1, "none": 1, "normal": 1, "nowrap": 1, "nw-resize": 1, "oblique": 1, "once": 1,
- "open-quote": 1, "outset": 1, "outside": 1, "overline": 1, "pointer": 1, "portrait": 1, "px": 1,
- "relative": 1, "repeat-x": 1, "repeat-y": 1, "repeat": 1, "rgb": 1, "ridge": 1, "right-side": 1,
- "rightwards": 1, "s-resize": 1, "sans-serif": 1, "scroll": 1, "se-resize": 1,
- "semi-condensed": 1, "semi-expanded": 1, "separate": 1, "serif": 1, "show": 1, "silent": 1,
- "slow": 1, "slower": 1, "small-caps": 1, "small-caption": 1, "smaller": 1, "soft": 1, "solid": 1,
- "spell-out": 1, "square": 1, "static": 1, "status-bar": 1, "super": 1, "sw-resize": 1,
- "table-caption": 1, "table-cell": 1, "table-column": 1, "table-column-group": 1,
- "table-footer-group": 1, "table-header-group": 1, "table-row": 1,
- "table-row-group": 1, "text": 1, "text-bottom": 1, "text-top": 1, "thick": 1, "thin": 1,
- "transparent": 1, "ultra-condensed": 1, "ultra-expanded": 1, "underline": 1,
- "upper-alpha": 1, "upper-latin": 1, "upper-roman": 1, "uppercase": 1, "url": 1,
- "visible": 1, "w-resize": 1, "wait": 1, "wider": 1, "x-fast": 1, "x-high": 1, "x-large": 1, "x-loud": 1,
- "x-low": 1, "x-small": 1, "x-soft": 1, "xx-large": 1, "xx-small": 1, "yes": 1
- },
- "name builtin": {
- "indigo": 1, "gold": 1, "firebrick": 1, "indianred": 1, "yellow": 1, "darkolivegreen": 1,
- "darkseagreen": 1, "mediumvioletred": 1, "mediumorchid": 1, "chartreuse": 1,
- "mediumslateblue": 1, "black": 1, "springgreen": 1, "crimson": 1, "lightsalmon": 1, "brown": 1,
- "turquoise": 1, "olivedrab": 1, "cyan": 1, "silver": 1, "skyblue": 1, "gray": 1, "darkturquoise": 1,
- "goldenrod": 1, "darkgreen": 1, "darkviolet": 1, "darkgray": 1, "lightpink": 1, "teal": 1,
- "darkmagenta": 1, "lightgoldenrodyellow": 1, "lavender": 1, "yellowgreen": 1, "thistle": 1,
- "violet": 1, "navy": 1, "orchid": 1, "blue": 1, "ghostwhite": 1, "honeydew": 1, "cornflowerblue": 1,
- "darkblue": 1, "darkkhaki": 1, "mediumpurple": 1, "cornsilk": 1, "red": 1, "bisque": 1, "slategray": 1,
- "darkcyan": 1, "khaki": 1, "wheat": 1, "deepskyblue": 1, "darkred": 1, "steelblue": 1, "aliceblue": 1,
- "gainsboro": 1, "mediumturquoise": 1, "floralwhite": 1, "coral": 1, "purple": 1, "lightgrey": 1,
- "lightcyan": 1, "darksalmon": 1, "beige": 1, "azure": 1, "lightsteelblue": 1, "oldlace": 1,
- "greenyellow": 1, "royalblue": 1, "lightseagreen": 1, "mistyrose": 1, "sienna": 1,
- "lightcoral": 1, "orangered": 1, "navajowhite": 1, "lime": 1, "palegreen": 1, "burlywood": 1,
- "seashell": 1, "mediumspringgreen": 1, "fuchsia": 1, "papayawhip": 1, "blanchedalmond": 1,
- "peru": 1, "aquamarine": 1, "white": 1, "darkslategray": 1, "ivory": 1, "dodgerblue": 1,
- "lemonchiffon": 1, "chocolate": 1, "orange": 1, "forestgreen": 1, "slateblue": 1, "olive": 1,
- "mintcream": 1, "antiquewhite": 1, "darkorange": 1, "cadetblue": 1, "moccasin": 1,
- "limegreen": 1, "saddlebrown": 1, "darkslateblue": 1, "lightskyblue": 1, "deeppink": 1,
- "plum": 1, "aqua": 1, "darkgoldenrod": 1, "maroon": 1, "sandybrown": 1, "magenta": 1, "tan": 1,
- "rosybrown": 1, "pink": 1, "lightblue": 1, "palevioletred": 1, "mediumseagreen": 1,
- "dimgray": 1, "powderblue": 1, "seagreen": 1, "snow": 1, "mediumblue": 1, "midnightblue": 1,
- "paleturquoise": 1, "palegoldenrod": 1, "whitesmoke": 1, "darkorchid": 1, "salmon": 1,
- "lightslategray": 1, "lawngreen": 1, "lightgreen": 1, "tomato": 1, "hotpink": 1,
- "lightyellow": 1, "lavenderblush": 1, "linen": 1, "mediumaquamarine": 1, "green": 1,
- "blueviolet": 1, "peachpuff": 1
- }
- },
- contains: [
- "comment", "comment preproc",
- "number",
- "string single", "string double",
- "punctuation",
- "name decorator", "name class", "name function"
- ]
- }
- ]
- };
-})();
-
-}
diff --git a/includes/js/dojox/highlight/languages/pygments/html.js b/includes/js/dojox/highlight/languages/pygments/html.js
deleted file mode 100644
index e0e7475..0000000
--- a/includes/js/dojox/highlight/languages/pygments/html.js
+++ /dev/null
@@ -1,101 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.pygments.html"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.pygments.html"] = true;
-dojo.provide("dojox.highlight.languages.pygments.html");
-
-dojo.require("dojox.highlight._base");
-dojo.require("dojox.highlight.languages.pygments._html");
-
-(function(){
- var dh = dojox.highlight, dhl = dh.languages, tags = [],
- ht = dhl.pygments._html.tags;
-
- for(var key in ht){
- tags.push(key);
- }
- tags = "\\b(" + tags.join("|") + ")\\b";
-
- dhl.html = {
- case_insensitive: true,
- defaultMode: {
- contains: [
- "name entity",
- "comment", "comment preproc",
- "_script", "_style", "_tag"
- ]
- },
- modes: [
- // comments
- {
- className: "comment",
- begin: "<!--", end: "-->"
- },
- {
- className: "comment preproc",
- begin: "\\<\\!\\[CDATA\\[", end: "\\]\\]\\>"
- },
- {
- className: "comment preproc",
- begin: "\\<\\!", end: "\\>"
- },
-
- // strings
- {
- className: "string",
- begin: "'", end: "'",
- illegal: "\\n",
- relevance: 0
- },
- {
- className: "string",
- begin: '"',
- end: '"',
- illegal: "\\n",
- relevance: 0
- },
-
- // names
- {
- className: "name entity",
- begin: "\\&[a-z]+;", end: "^"
- },
- {
- className: "name tag",
- begin: tags, end: "^",
- relevance: 5
- },
- {
- className: "name attribute",
- begin: "\\b[a-z0-9_\\:\\-]+\\s*=", end: "^",
- relevance: 0
- },
-
- {
- className: "_script",
- begin: "\\<script\\b", end: "\\</script\\>",
- relevance: 5
- },
- {
- className: "_style",
- begin: "\\<style\\b", end: "\\</style\\>",
- relevance: 5
- },
-
- {
- className: "_tag",
- begin: "\\<(?!/)", end: "\\>",
- contains: ["name tag", "name attribute", "string", "_value"]
- },
- {
- className: "_tag",
- begin: "\\</", end: "\\>",
- contains: ["name tag"]
- },
- {
- className: "_value",
- begin: "[^\\s\\>]+", end: "^"
- }
- ]
- };
-})();
-
-}
diff --git a/includes/js/dojox/highlight/languages/pygments/javascript.js b/includes/js/dojox/highlight/languages/pygments/javascript.js
deleted file mode 100644
index d6c0a6b..0000000
--- a/includes/js/dojox/highlight/languages/pygments/javascript.js
+++ /dev/null
@@ -1,152 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.pygments.javascript"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.pygments.javascript"] = true;
-dojo.provide("dojox.highlight.languages.pygments.javascript");
-
-dojo.require("dojox.highlight._base");
-
-(function(){
- var dh = dojox.highlight, dhc = dh.constants;
- dh.languages.javascript = {
- defaultMode: {
- lexems: ["\\b[a-zA-Z]+"],
- keywords: {
- "keyword": {
- "for": 1, "in": 1, "while": 1, "do": 1, "break": 1, "return": 1,
- "continue": 1, "if": 1, "else": 1, "throw": 1, "try": 1,
- "catch": 1, "var": 1, "with": 1, "const": 1, "label": 1,
- "function": 1, "new": 1, "typeof": 1, "instanceof": 1
- },
- "keyword constant": {
- "true": 1, "false": 1, "null": 1, "NaN": 1, "Infinity": 1, "undefined": 1
- },
- "name builtin": {
- "Array": 1, "Boolean": 1, "Date": 1, "Error": 1, "Function": 1, "Math": 1,
- "netscape": 1, "Number": 1, "Object": 1, "Packages": 1, "RegExp": 1,
- "String": 1, "sun": 1, "decodeURI": 1, "decodeURIComponent": 1,
- "encodeURI": 1, "encodeURIComponent": 1, "Error": 1, "eval": 1,
- "isFinite": 1, "isNaN": 1, "parseFloat": 1, "parseInt": 1, "document": 1,
- "window": 1
- },
- "name builtin pseudo": {
- "this": 1
- }
- },
- contains: [
- "comment single", "comment multiline",
- "number integer", "number oct", "number hex", "number float",
- "string single", "string double", "string regex",
- "operator",
- "punctuation",
- //"name variable",
- "_function"
- ]
- },
- modes: [
- // comments
- {
- className: "comment single",
- begin: "//", end: "$",
- relevance: 0
- },
- {
- className: "comment multiline",
- begin: "/\\*", end: "\\*/"
- },
-
- // numbers
- {
- className: "number integer",
- begin: "0|([1-9][0-9]*)", end: "^",
- relevance: 0
- },
- {
- className: "number oct",
- begin: "0[0-9]+", end: "^",
- relevance: 0
- },
- {
- className: "number hex",
- begin: "0x[0-9a-fA-F]+", end: "^",
- relevance: 0
- },
- {
- className: "number float",
- begin: "([1-9][0-9]*\\.[0-9]*([eE][\\+-]?[0-9]+)?)|(\\.[0-9]+([eE][\\+-]?[0-9]+)?)|([0-9]+[eE][\\+-]?[0-9]+)", end: "^",
- relevance: 0
- },
-
- // strings
- {
- className: "string single",
- begin: "'", end: "'",
- illegal: "\\n",
- contains: ["string escape"],
- relevance: 0
- },
- {
- className: "string double",
- begin: '"',
- end: '"',
- illegal: "\\n",
- contains: ["string escape"],
- relevance: 0
- },
- {
- className: "string escape",
- begin: "\\\\.", end: "^",
- relevance: 0
- },
- {
- className: "string regex",
- begin: "/.*?[^\\\\/]/[gim]*", end: "^"
- },
-
- // operators
- {
- className: "operator",
- begin: "\\|\\||&&|\\+\\+|--|-=|\\+=|/=|\\*=|==|[-\\+\\*/=\\?:~\\^]", end: "^",
- relevance: 0
- },
-
- // punctuations
- {
- className: "punctuation",
- begin: "[{}\\(\\)\\[\\]\\.;]", end: "^",
- relevance: 0
- },
-
- // functions
- {
- className: "_function",
- begin: "function\\b", end: "{",
- lexems: [dhc.UNDERSCORE_IDENT_RE],
- keywords: {
- keyword: {
- "function": 1
- }
- },
- contains: ["name function", "_params"],
- relevance: 5
- },
- {
- className: "name function",
- begin: dhc.UNDERSCORE_IDENT_RE, end: '^'
- },
- {
- className: "_params",
- begin: "\\(", end: "\\)",
- contains: ["comment single", "comment multiline"]
- }
- /*
- // names
- {
- className: "name variable",
- begin: "\\b[$a-zA-Z_][$a-zA-Z0-9_]*", end: "^",
- relevance: 0
- }
- */
- ]
- };
-})();
-
-}
diff --git a/includes/js/dojox/highlight/languages/pygments/xml.js b/includes/js/dojox/highlight/languages/pygments/xml.js
deleted file mode 100644
index 5eb4832..0000000
--- a/includes/js/dojox/highlight/languages/pygments/xml.js
+++ /dev/null
@@ -1,79 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.pygments.xml"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.pygments.xml"] = true;
-dojo.provide("dojox.highlight.languages.pygments.xml");
-
-dojo.require("dojox.highlight._base");
-dojox.highlight.languages.pygments.xml = {a: 1};
-dojox.highlight.languages.xml = {
- defaultMode: {
- contains: [
- "name entity",
- "comment", "comment preproc",
- "_tag"
- ]
- },
- modes: [
- // comments
- {
- className: "comment",
- begin: "<!--", end: "-->"
- },
- {
- className: "comment preproc",
- begin: "\\<\\!\\[CDATA\\[", end: "\\]\\]\\>"
- },
- {
- className: "comment preproc",
- begin: "\\<\\!", end: "\\>"
- },
- {
- className: "comment preproc",
- begin: "\\<\\?", end: "\\?\\>",
- relevance: 5
- },
-
- // strings
- {
- className: "string",
- begin: "'", end: "'",
- illegal: "\\n",
- relevance: 0
- },
- {
- className: "string",
- begin: '"',
- end: '"',
- illegal: "\\n",
- relevance: 0
- },
-
- // names
- {
- className: "name entity",
- begin: "\\&[a-z]+;", end: "^"
- },
- {
- className: "name tag",
- begin: "\\b[a-z0-9_\\:\\-]+\\b", end: "^"
- },
- {
- className: "name attribute",
- begin: "\\b[a-z0-9_\\:\\-]+=", end: "^",
- relevance: 0
- },
-
-
- {
- className: "_tag",
- begin: "\\<", end: "\\>",
- contains: ["name tag", "name attribute", "string"]
- },
- {
- className: "_tag",
- begin: "\\</", end: "\\>",
- contains: ["name tag"]
- }
- ]
-};
-
-}
diff --git a/includes/js/dojox/highlight/languages/python.js b/includes/js/dojox/highlight/languages/python.js
deleted file mode 100644
index eaffd1f..0000000
--- a/includes/js/dojox/highlight/languages/python.js
+++ /dev/null
@@ -1,102 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.python"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.python"] = true;
-dojo.provide("dojox.highlight.languages.python");
-
-dojo.require("dojox.highlight._base");
-
-(function(){
- var dh = dojox.highlight, dhc = dh.constants;
- dh.languages.python = {
- // summary: Python highlight definitions
- defaultMode: {
- lexems: [dhc.UNDERSCORE_IDENT_RE],
- illegal: '(</|->)',
- contains: ['comment', 'string', 'function', 'class', 'number', 'decorator'],
- keywords: {'and': 1, 'elif': 1, 'is': 1, 'global': 1, 'as': 1, 'in': 1, 'if': 1,
- 'from': 1, 'raise': 1, 'for': 1, 'except': 1, 'finally': 1, 'print': 1,
- 'import': 1, 'pass': 1, 'None': 1, 'return': 1, 'exec': 1, 'else': 1,
- 'break': 1, 'not': 1, 'with': 1, 'class': 1, 'assert': 1, 'yield': 1,
- 'try': 1, 'while': 1, 'continue': 1, 'del': 1, 'or': 1, 'def': 1, 'lambda': 1}
- },
- modes: [
- {
- className: 'function',
- lexems: [dhc.UNDERSCORE_IDENT_RE],
- begin: '\\bdef ', end: ':',
- illegal: '$',
- keywords: {'def': 1},
- contains: ['title', 'params'],
- relevance: 10
- },
- {
- className: 'class',
- lexems: [dhc.UNDERSCORE_IDENT_RE],
- begin: '\\bclass ', end: ':',
- illegal: '[${]',
- keywords: {'class': 1},
- contains: ['title', 'params',],
- relevance: 10
- },
- {
- className: 'title',
- begin: dhc.UNDERSCORE_IDENT_RE, end: '^'
- },
- {
- className: 'params',
- begin: '\\(', end: '\\)',
- contains: ['string']
- },
- dhc.HASH_COMMENT_MODE,
- dhc.C_NUMBER_MODE,
- {
- className: 'string',
- begin: '\'\'\'', end: '\'\'\'',
- relevance: 10
- },
- {
- className: 'string',
- begin: '"""', end: '"""',
- relevance: 10
- },
- dhc.APOS_STRING_MODE,
- dhc.QUOTE_STRING_MODE,
- dhc.BACKSLASH_ESCAPE,
- {
- className: 'string',
- begin: 'r\'', end: '\'',
- relevance: 10
- },
- {
- className: 'string',
- begin: 'r"', end: '"',
- relevance: 10
- },
- {
- className: 'string',
- begin: 'u\'', end: '(^|[^\\\\])\'',
- relevance: 10
- },
- {
- className: 'string',
- begin: 'u"', end: '(^|[^\\\\])"',
- relevance: 10
- },
- {
- className: 'string',
- begin: 'ur\'', end: '\'',
- relevance: 10
- },
- {
- className: 'string',
- begin: 'ur"', end: '"',
- relevance: 10
- },
- {
- className: 'decorator',
- begin: '@', end: '$'
- }
- ]
- };
-})();
-
-}
diff --git a/includes/js/dojox/highlight/languages/sql.js b/includes/js/dojox/highlight/languages/sql.js
deleted file mode 100644
index 0e1ca9c..0000000
--- a/includes/js/dojox/highlight/languages/sql.js
+++ /dev/null
@@ -1,101 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.sql"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.sql"] = true;
-dojo.provide("dojox.highlight.languages.sql");
-
-dojo.require("dojox.highlight._base");
-
-(function(){
- var SQL_KEYWORDS = {
- 'all': 1, 'partial': 1, 'global': 1, 'month': 1,
- 'current_timestamp': 1, 'using': 1, 'go': 1, 'revoke': 1,
- 'smallint': 1, 'indicator': 1, 'end-exec': 1, 'disconnect': 1,
- 'zone': 1, 'with': 1, 'character': 1, 'assertion': 1, 'to': 1,
- 'add': 1, 'current_user': 1, 'usage': 1, 'input': 1, 'local': 1,
- 'alter': 1, 'match': 1, 'collate': 1, 'real': 1, 'then': 1,
- 'rollback': 1, 'get': 1, 'read': 1, 'timestamp': 1, 'session_user': 1,
- 'not': 1, 'integer': 1, 'bit': 1, 'unique': 1, 'day': 1, 'minute': 1,
- 'desc': 1, 'insert': 1, 'execute': 1, 'like': 1, 'level': 1,
- 'decimal': 1, 'drop': 1, 'continue': 1, 'isolation': 1, 'found': 1,
- 'where': 1, 'constraints': 1, 'domain': 1, 'right': 1, 'national': 1,
- 'some': 1, 'module': 1, 'transaction': 1, 'relative': 1, 'second': 1,
- 'connect': 1, 'escape': 1, 'close': 1, 'system_user': 1, 'for': 1,
- 'deferred': 1, 'section': 1, 'cast': 1, 'current': 1, 'sqlstate': 1,
- 'allocate': 1, 'intersect': 1, 'deallocate': 1, 'numeric': 1,
- 'public': 1, 'preserve': 1, 'full': 1, 'goto': 1, 'initially': 1,
- 'asc': 1, 'no': 1, 'key': 1, 'output': 1, 'collation': 1, 'group': 1,
- 'by': 1, 'union': 1, 'session': 1, 'both': 1, 'last': 1, 'language': 1,
- 'constraint': 1, 'column': 1, 'of': 1, 'space': 1, 'foreign': 1,
- 'deferrable': 1, 'prior': 1, 'connection': 1, 'unknown': 1,
- 'action': 1, 'commit': 1, 'view': 1, 'or': 1, 'first': 1, 'into': 1,
- 'float': 1, 'year': 1, 'primary': 1, 'cascaded': 1, 'except': 1,
- 'restrict': 1, 'set': 1, 'references': 1, 'names': 1, 'table': 1,
- 'outer': 1, 'open': 1, 'select': 1, 'size': 1, 'are': 1, 'rows': 1,
- 'from': 1, 'prepare': 1, 'distinct': 1, 'leading': 1, 'create': 1,
- 'only': 1, 'next': 1, 'inner': 1, 'authorization': 1, 'schema': 1,
- 'corresponding': 1, 'option': 1, 'declare': 1, 'precision': 1,
- 'immediate': 1, 'else': 1, 'timezone_minute': 1, 'external': 1,
- 'varying': 1, 'translation': 1, 'true': 1, 'case': 1, 'exception': 1,
- 'join': 1, 'hour': 1, 'default': 1, 'double': 1, 'scroll': 1,
- 'value': 1, 'cursor': 1, 'descriptor': 1, 'values': 1, 'dec': 1,
- 'fetch': 1, 'procedure': 1, 'delete': 1, 'and': 1, 'false': 1,
- 'int': 1, 'is': 1, 'describe': 1, 'char': 1, 'as': 1, 'at': 1, 'in': 1,
- 'varchar': 1, 'null': 1, 'trailing': 1, 'any': 1, 'absolute': 1,
- 'current_time': 1, 'end': 1, 'grant': 1, 'privileges': 1, 'when': 1,
- 'cross': 1, 'check': 1, 'write': 1, 'current_date': 1, 'pad': 1,
- 'begin': 1, 'temporary': 1, 'exec': 1, 'time': 1, 'update': 1,
- 'catalog': 1, 'user': 1, 'sql': 1, 'date': 1, 'on': 1, 'identity': 1,
- 'timezone_hour': 1, 'natural': 1, 'whenever': 1, 'interval': 1,
- 'work': 1, 'order': 1, 'cascade': 1, 'diagnostics': 1, 'nchar': 1,
- 'having': 1, 'left': 1
- };
-
- var dh = dojox.highlight, dhc = dh.constants;
- dh.languages.sql = {
- // summary: SQL highlight definitions
- case_insensitive: true,
- defaultMode: {
- lexems: [dhc.IDENT_RE],
- contains: ['string', 'number', 'comment'],
- keywords: {
- 'keyword': SQL_KEYWORDS,
- 'aggregate': {'count': 1, 'sum': 1, 'min': 1, 'max': 1, 'avg': 1}
- }
- },
- modes: [
- dhc.C_NUMBER_MODE,
- dhc.C_BLOCK_COMMENT_MODE,
- {
- className: 'comment',
- begin: '--', end: '$'
- },
- {
- className: 'string',
- begin: '\'', end: '\'',
- contains: ['escape', 'squote'],
- relevance: 0
- },
- {
- className: 'squote',
- begin: '\'\'', end: '^'
- },
- {
- className: 'string',
- begin: '"', end: '"',
- contains: [ 'escape', 'dquote'],
- relevance: 0
- },
- {
- className: 'dquote',
- begin: '""', end: '^'
- },
- {
- className: 'string',
- begin: '`', end: '`',
- contains: ['escape']
- },
- dhc.BACKSLASH_ESCAPE
- ]
- };
-})();
-
-}
diff --git a/includes/js/dojox/highlight/languages/xml.js b/includes/js/dojox/highlight/languages/xml.js
deleted file mode 100644
index 67dd81d..0000000
--- a/includes/js/dojox/highlight/languages/xml.js
+++ /dev/null
@@ -1,69 +0,0 @@
-if(!dojo._hasResource["dojox.highlight.languages.xml"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
-dojo._hasResource["dojox.highlight.languages.xml"] = true;
-dojo.provide("dojox.highlight.languages.xml");
-
-dojo.require("dojox.highlight._base");
-
-(function(){
- var XML_COMMENT = {
- className: 'comment',
- begin: '<!--', end: '-->'
- };
-
- var XML_ATTR = {
- className: 'attribute',
- begin: ' [a-zA-Z-]+=', end: '^',
- contains: ['value']
- };
-
- var XML_VALUE = {
- className: 'value',
- begin: '"', end: '"'
- };
-
- var dh = dojox.highlight, dhc = dh.constants;
- dh.languages.xml = {
- defaultMode: {
- contains: ['pi', 'comment', 'cdata', 'tag']
- },
- case_insensitive: true,
- modes: [
- {
- className: 'pi',
- begin: '<\\?', end: '\\?>',
- relevance: 10
- },
- XML_COMMENT,
- {
- className: 'cdata',
- begin: '<\\!\\[CDATA\\[', end: '\\]\\]>'
- },
- {
- className: 'tag',
- begin: '</?', end: '>',
- contains: ['title', 'tag_internal'],
- relevance: 1.5
- },
- {
- className: 'title',
- begin: '[A-Za-z:_][A-Za-z0-9\\._:-]+', end: '^',
- relevance: 0
- },
- {
- className: 'tag_internal',
- begin: '^', endsWithParent: true,
- contains: ['attribute'],
- relevance: 0,
- illegal: '[\\+\\.]'
- },
- XML_ATTR,
- XML_VALUE
- ],
- // exporting constants
- XML_COMMENT: XML_COMMENT,
- XML_ATTR: XML_ATTR,
- XML_VALUE: XML_VALUE
- };
-})();
-
-}