dependabot-linguist 0.212.0 → 0.212.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -7
  3. data/README.md +27 -0
  4. data/dependabot-linguist.gemspec +1 -1
  5. data/lib/dependabot/linguist/dependabot_file_validator.rb +40 -6
  6. data/lib/dependabot/linguist/version.rb +1 -1
  7. metadata +2 -195
  8. data/smoke-test/README.md +0 -58
  9. data/smoke-test/bundler/Gemfile +0 -9
  10. data/smoke-test/bundler/Gemfile.lock +0 -47
  11. data/smoke-test/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  12. data/smoke-test/cargo/Cargo.lock +0 -90
  13. data/smoke-test/cargo/Cargo.toml +0 -8
  14. data/smoke-test/composer/composer.json +0 -5
  15. data/smoke-test/composer/composer.lock +0 -72
  16. data/smoke-test/composer/vendor/autoload.php +0 -7
  17. data/smoke-test/composer/vendor/composer/ClassLoader.php +0 -445
  18. data/smoke-test/composer/vendor/composer/LICENSE +0 -21
  19. data/smoke-test/composer/vendor/composer/autoload_classmap.php +0 -13
  20. data/smoke-test/composer/vendor/composer/autoload_namespaces.php +0 -9
  21. data/smoke-test/composer/vendor/composer/autoload_psr4.php +0 -9
  22. data/smoke-test/composer/vendor/composer/autoload_real.php +0 -55
  23. data/smoke-test/composer/vendor/composer/autoload_static.php +0 -23
  24. data/smoke-test/composer/vendor/composer/installed.json +0 -57
  25. data/smoke-test/composer/vendor/phpmailer/phpmailer/.gitignore +0 -3
  26. data/smoke-test/composer/vendor/phpmailer/phpmailer/LICENSE +0 -504
  27. data/smoke-test/composer/vendor/phpmailer/phpmailer/README.md +0 -112
  28. data/smoke-test/composer/vendor/phpmailer/phpmailer/changelog.md +0 -530
  29. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.phpmailer.php +0 -2758
  30. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.pop3.php +0 -417
  31. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.smtp.php +0 -1075
  32. data/smoke-test/composer/vendor/phpmailer/phpmailer/composer.json +0 -32
  33. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/Callback_function_notes.txt +0 -17
  34. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/DomainKeys_notes.txt +0 -55
  35. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/Note_for_SMTP_debugging.txt +0 -23
  36. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/extending.html +0 -148
  37. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/faq.html +0 -67
  38. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/generatedocs.sh +0 -4
  39. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/pop3_article.txt +0 -39
  40. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/use_gmail.txt +0 -44
  41. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/contents.html +0 -20
  42. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/images/phpmailer.gif +0 -0
  43. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/images/phpmailer_mini.gif +0 -0
  44. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/index.html +0 -50
  45. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_db_smtp_basic.php +0 -58
  46. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_mail_advanced.php +0 -30
  47. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_mail_basic.php +0 -41
  48. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_pop_before_smtp_advanced.php +0 -39
  49. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_pop_before_smtp_basic.php +0 -49
  50. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_sendmail_advanced.php +0 -33
  51. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_sendmail_basic.php +0 -43
  52. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_advanced.php +0 -42
  53. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_advanced_no_auth.php +0 -36
  54. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_basic.php +0 -58
  55. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_basic_no_auth.php +0 -53
  56. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_gmail_advanced.php +0 -42
  57. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_gmail_basic.php +0 -59
  58. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/class.html2text.inc +0 -489
  59. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/htmlfilter.php +0 -861
  60. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/ntlm_sasl_client.php +0 -185
  61. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php +0 -26
  62. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-br.php +0 -25
  63. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php +0 -25
  64. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php +0 -25
  65. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-cz.php +0 -24
  66. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php +0 -24
  67. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-dk.php +0 -25
  68. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php +0 -25
  69. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php +0 -25
  70. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php +0 -26
  71. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php +0 -26
  72. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php +0 -24
  73. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php +0 -24
  74. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php +0 -26
  75. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php +0 -25
  76. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php +0 -24
  77. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-no.php +0 -24
  78. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php +0 -24
  79. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php +0 -26
  80. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php +0 -24
  81. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-se.php +0 -25
  82. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php +0 -25
  83. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php +0 -26
  84. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php +0 -25
  85. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php +0 -25
  86. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/contents.html +0 -10
  87. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/phpmailerTest.php +0 -1084
  88. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/test.png +0 -0
  89. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/test_callback.php +0 -84
  90. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/testemail.php +0 -48
  91. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/LGPLv3.txt +0 -165
  92. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/contents.html +0 -14
  93. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/aikido.gif +0 -0
  94. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/bkgrnd.gif +0 -0
  95. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/phpmailer.gif +0 -0
  96. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/index.php +0 -427
  97. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/clipboard.swf +0 -0
  98. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushBash.js +0 -59
  99. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCSharp.js +0 -64
  100. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCpp.js +0 -99
  101. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCss.js +0 -93
  102. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushDelphi.js +0 -57
  103. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushDiff.js +0 -43
  104. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushGroovy.js +0 -69
  105. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushJScript.js +0 -51
  106. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushJava.js +0 -55
  107. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPerl.js +0 -74
  108. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPhp.js +0 -91
  109. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPlain.js +0 -35
  110. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPython.js +0 -56
  111. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushRuby.js +0 -57
  112. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushScala.js +0 -53
  113. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushSql.js +0 -68
  114. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushVb.js +0 -58
  115. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushXml.js +0 -71
  116. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shCore.js +0 -30
  117. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shLegacy.js +0 -30
  118. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/src/shCore.js +0 -1949
  119. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/src/shLegacy.js +0 -172
  120. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/help.png +0 -0
  121. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/magnifier.png +0 -0
  122. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/page_white_code.png +0 -0
  123. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/page_white_copy.png +0 -0
  124. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/printer.png +0 -0
  125. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shCore.css +0 -321
  126. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeDefault.css +0 -191
  127. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeDjango.css +0 -193
  128. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeEmacs.css +0 -192
  129. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeFadeToGrey.css +0 -193
  130. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeMidnight.css +0 -192
  131. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeRDark.css +0 -192
  132. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/wrapping.png +0 -0
  133. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/test.html +0 -46
  134. data/smoke-test/dependabot-file/no-config/.github/TARGET.yaml +0 -14
  135. data/smoke-test/dependabot-file/no-config/bundler/Gemfile +0 -9
  136. data/smoke-test/dependabot-file/no-config/bundler/Gemfile.lock +0 -47
  137. data/smoke-test/dependabot-file/no-config/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  138. data/smoke-test/dependabot-file/no-config/cargo/Cargo.lock +0 -90
  139. data/smoke-test/dependabot-file/no-config/cargo/Cargo.toml +0 -8
  140. data/smoke-test/dependabot-file/no-config/composer/composer.json +0 -5
  141. data/smoke-test/dependabot-file/no-config/composer/composer.lock +0 -72
  142. data/smoke-test/dependabot-file/over-config/.github/TARGET.yaml +0 -17
  143. data/smoke-test/dependabot-file/over-config/.github/dependabot.yaml +0 -12
  144. data/smoke-test/dependabot-file/over-config/bundler/Gemfile +0 -9
  145. data/smoke-test/dependabot-file/over-config/bundler/Gemfile.lock +0 -47
  146. data/smoke-test/dependabot-file/over-config/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  147. data/smoke-test/dependabot-file/over-config/cargo/Cargo.lock +0 -90
  148. data/smoke-test/dependabot-file/over-config/cargo/Cargo.toml +0 -8
  149. data/smoke-test/dependabot-file/over-config/composer/composer.json +0 -5
  150. data/smoke-test/dependabot-file/over-config/composer/composer.lock +0 -72
  151. data/smoke-test/dependabot-file/overer-config/.github/TARGET.yaml +0 -19
  152. data/smoke-test/dependabot-file/overer-config/.github/dependabot.yaml +0 -12
  153. data/smoke-test/dependabot-file/overer-config/bundler/Gemfile +0 -9
  154. data/smoke-test/dependabot-file/overer-config/bundler/Gemfile.lock +0 -47
  155. data/smoke-test/dependabot-file/overer-config/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  156. data/smoke-test/dependabot-file/overer-config/cargo/Cargo.lock +0 -90
  157. data/smoke-test/dependabot-file/overer-config/cargo/Cargo.toml +0 -8
  158. data/smoke-test/dependabot-file/overer-config/composer/composer.json +0 -5
  159. data/smoke-test/dependabot-file/overer-config/composer/composer.lock +0 -72
  160. data/smoke-test/dependabot-file/partial-config/.github/TARGET.yaml +0 -17
  161. data/smoke-test/dependabot-file/partial-config/.github/dependabot.yaml +0 -7
  162. data/smoke-test/dependabot-file/partial-config/bundler/Gemfile +0 -9
  163. data/smoke-test/dependabot-file/partial-config/bundler/Gemfile.lock +0 -47
  164. data/smoke-test/dependabot-file/partial-config/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  165. data/smoke-test/dependabot-file/partial-config/cargo/Cargo.lock +0 -90
  166. data/smoke-test/dependabot-file/partial-config/cargo/Cargo.toml +0 -8
  167. data/smoke-test/dependabot-file/partial-config/composer/composer.json +0 -5
  168. data/smoke-test/dependabot-file/partial-config/composer/composer.lock +0 -72
  169. data/smoke-test/docker/Dockerfile +0 -19
  170. data/smoke-test/elm/elm-package.json +0 -15
  171. data/smoke-test/elm/elm.json +0 -31
  172. data/smoke-test/github-actions/both/.github/workflows/this.yaml +0 -11
  173. data/smoke-test/github-actions/both/yaml/action.yml +0 -13
  174. data/smoke-test/github-actions/invalid/invalid_file.yaml +0 -0
  175. data/smoke-test/github-actions/workflow/.github/workflows/this.yaml +0 -11
  176. data/smoke-test/github-actions/yaml/action.yml +0 -13
  177. data/smoke-test/gitsubmodule/.gitmodules +0 -4
  178. data/smoke-test/gomod/go.mod +0 -16
  179. data/smoke-test/gomod/go.sum +0 -18
  180. data/smoke-test/gomod/gomain.go +0 -14
  181. data/smoke-test/gradle/.gitignore +0 -1
  182. data/smoke-test/gradle/build.gradle +0 -65
  183. data/smoke-test/maven/pom.xml +0 -65
  184. data/smoke-test/mix/mix.exs +0 -24
  185. data/smoke-test/mix/mix.lock +0 -5
  186. data/smoke-test/npm/package-lock.json +0 -166
  187. data/smoke-test/npm/package.json +0 -22
  188. data/smoke-test/npm/removed/package-lock.json +0 -44
  189. data/smoke-test/npm/removed/package.json +0 -15
  190. data/smoke-test/nuget/project.csproj +0 -14
  191. data/smoke-test/pip/pip/requirements.txt +0 -5
  192. data/smoke-test/pip/pip-compile/requirements.in +0 -2
  193. data/smoke-test/pip/pip-compile/requirements.txt +0 -16
  194. data/smoke-test/pip/pipenv/Pipfile +0 -13
  195. data/smoke-test/pip/pipenv/Pipfile.lock +0 -86
  196. data/smoke-test/pip/poetry/poetry.lock +0 -33
  197. data/smoke-test/pip/poetry/pyproject.toml +0 -18
  198. data/smoke-test/pub/pubspec.lock +0 -40
  199. data/smoke-test/pub/pubspec.yaml +0 -10
  200. data/smoke-test/terraform/main.tf +0 -143
@@ -1,172 +0,0 @@
1
- /**
2
- * SyntaxHighlighter
3
- * http://alexgorbatchev.com/
4
- *
5
- * SyntaxHighlighter is donationware. If you are using it, please donate.
6
- * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7
- *
8
- * @version
9
- * 2.0.296 (March 01 2009)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2009 Alex Gorbatchev.
13
- *
14
- * @license
15
- * This file is part of SyntaxHighlighter.
16
- *
17
- * SyntaxHighlighter is free software: you can redistribute it and/or modify
18
- * it under the terms of the GNU General Public License as published by
19
- * the Free Software Foundation, either version 3 of the License, or
20
- * (at your option) any later version.
21
- *
22
- * SyntaxHighlighter is distributed in the hope that it will be useful,
23
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
- * GNU General Public License for more details.
26
- *
27
- * You should have received a copy of the GNU General Public License
28
- * along with SyntaxHighlighter. If not, see <http://www.gnu.org/licenses/>.
29
- */
30
- var dp = {
31
- SyntaxHighlighter : {}
32
- };
33
-
34
- dp.SyntaxHighlighter = {
35
- parseParams: function(
36
- input,
37
- showGutter,
38
- showControls,
39
- collapseAll,
40
- firstLine,
41
- showColumns
42
- )
43
- {
44
- function getValue(list, name)
45
- {
46
- var regex = new XRegExp('^' + name + '\\[(?<value>\\w+)\\]$', 'gi'),
47
- match = null
48
- ;
49
-
50
- for (var i = 0; i < list.length; i++)
51
- if ((match = regex.exec(list[i])) != null)
52
- return match.value;
53
-
54
- return null;
55
- };
56
-
57
- function defaultValue(value, def)
58
- {
59
- return value != null ? value : def;
60
- };
61
-
62
- function asString(value)
63
- {
64
- return value != null ? value.toString() : null;
65
- };
66
-
67
- var parts = input.split(':'),
68
- brushName = parts[0],
69
- options = {},
70
- straight = { 'true' : 'true' }
71
- reverse = { 'true' : 'false' },
72
- result = null,
73
- defaults = SyntaxHighlighter.defaults
74
- ;
75
-
76
- for (var i in parts)
77
- options[parts[i]] = 'true';
78
-
79
- showGutter = asString(defaultValue(showGutter, defaults.gutter));
80
- showControls = asString(defaultValue(showControls, defaults.toolbar));
81
- collapseAll = asString(defaultValue(collapseAll, defaults.collapse));
82
- showColumns = asString(defaultValue(showColumns, defaults.ruler));
83
- firstLine = asString(defaultValue(firstLine, defaults['first-line']));
84
-
85
- result = {
86
- brush : brushName,
87
- gutter : defaultValue(reverse[options.nogutter], showGutter),
88
- toolbar : defaultValue(reverse[options.nocontrols], showControls),
89
- collapse : defaultValue(straight[options.collapse], collapseAll),
90
- ruler : defaultValue(straight[options.showcolumns], showColumns),
91
- 'first-line' : defaultValue(getValue(parts, 'firstline'), firstLine)
92
- };
93
-
94
- return result;
95
- },
96
-
97
- HighlightAll: function(
98
- name,
99
- showGutter /* optional */,
100
- showControls /* optional */,
101
- collapseAll /* optional */,
102
- firstLine /* optional */,
103
- showColumns /* optional */
104
- )
105
- {
106
- function findValue()
107
- {
108
- var a = arguments;
109
-
110
- for (var i = 0; i < a.length; i++)
111
- {
112
- if (a[i] === null)
113
- continue;
114
-
115
- if (typeof(a[i]) == 'string' && a[i] != '')
116
- return a[i] + '';
117
-
118
- if (typeof(a[i]) == 'object' && a[i].value != '')
119
- return a[i].value + '';
120
- }
121
-
122
- return null;
123
- };
124
-
125
- function findTagsByName(list, name, tagName)
126
- {
127
- var tags = document.getElementsByTagName(tagName);
128
-
129
- for (var i = 0; i < tags.length; i++)
130
- if (tags[i].getAttribute('name') == name)
131
- list.push(tags[i]);
132
- }
133
-
134
- var elements = [],
135
- highlighter = null,
136
- registered = {},
137
- propertyName = 'innerHTML'
138
- ;
139
-
140
- // for some reason IE doesn't find <pre/> by name, however it does see them just fine by tag name...
141
- findTagsByName(elements, name, 'pre');
142
- findTagsByName(elements, name, 'textarea');
143
-
144
- if (elements.length === 0)
145
- return;
146
-
147
- for (var i = 0; i < elements.length; i++)
148
- {
149
- var element = elements[i],
150
- params = findValue(
151
- element.attributes['class'], element.className,
152
- element.attributes['language'], element.language
153
- ),
154
- language = ''
155
- ;
156
-
157
- if (params === null)
158
- continue;
159
-
160
- params = dp.SyntaxHighlighter.parseParams(
161
- params,
162
- showGutter,
163
- showControls,
164
- collapseAll,
165
- firstLine,
166
- showColumns
167
- );
168
-
169
- SyntaxHighlighter.highlight(params, element);
170
- }
171
- }
172
- };
@@ -1,321 +0,0 @@
1
- /**
2
- * SyntaxHighlighter
3
- * http://alexgorbatchev.com/
4
- *
5
- * SyntaxHighlighter is donationware. If you are using it, please donate.
6
- * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7
- *
8
- * @version
9
- * 2.0.296 (March 01 2009)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2009 Alex Gorbatchev.
13
- *
14
- * @license
15
- * This file is part of SyntaxHighlighter.
16
- *
17
- * SyntaxHighlighter is free software: you can redistribute it and/or modify
18
- * it under the terms of the GNU General Public License as published by
19
- * the Free Software Foundation, either version 3 of the License, or
20
- * (at your option) any later version.
21
- *
22
- * SyntaxHighlighter is distributed in the hope that it will be useful,
23
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
- * GNU General Public License for more details.
26
- *
27
- * You should have received a copy of the GNU General Public License
28
- * along with SyntaxHighlighter. If not, see <http://www.gnu.org/licenses/>.
29
- */
30
- .syntaxhighlighter,
31
- .syntaxhighlighter div,
32
- .syntaxhighlighter code,
33
- .syntaxhighlighter span
34
- {
35
- margin: 0 !important;
36
- padding: 0 !important;
37
- border: 0 !important;
38
- outline: 0 !important;
39
- background: none !important;
40
- text-align: left !important;
41
- float: none !important;
42
- vertical-align: baseline !important;
43
- position: static !important;
44
- left: auto !important;
45
- top: auto !important;
46
- right: auto !important;
47
- bottom: auto !important;
48
- height: auto !important;
49
- width: auto !important;
50
- line-height: 1.1em !important;
51
- font-family: "Consolas", "Monaco", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
52
- font-weight: normal !important;
53
- font-style: normal !important;
54
- font-size: 1em !important;
55
- }
56
-
57
- .syntaxhighlighter
58
- {
59
- width: 100% !important;
60
- margin: 1em 0 1em 0 !important;
61
- padding: 1px !important; /* adds a little border on top and bottom */
62
- position: relative !important;
63
- }
64
-
65
- .syntaxhighlighter .bold {
66
- font-weight: bold !important;
67
- }
68
-
69
- .syntaxhighlighter .italic {
70
- font-style: italic !important;
71
- }
72
-
73
- .syntaxhighlighter .line .number
74
- {
75
- float: left !important;
76
- width: 3em !important;
77
- padding-right: .3em !important;
78
- text-align: right !important;
79
- display: block !important;
80
- }
81
-
82
- /* Disable numbers when no gutter option is set */
83
- .syntaxhighlighter.nogutter .line .number
84
- {
85
- display: none !important;
86
- }
87
-
88
- .syntaxhighlighter .line .content
89
- {
90
- margin-left: 3.3em !important;
91
- padding-left: .5em !important;
92
- display: block !important;
93
- }
94
-
95
- .syntaxhighlighter .line .content .block
96
- {
97
- display: block !important;
98
- padding-left: 1.5em !important;
99
- text-indent: -1.5em !important;
100
- }
101
-
102
- .syntaxhighlighter .line .content .spaces
103
- {
104
- display: none !important;
105
- }
106
-
107
- /* Disable border and margin on the lines when no gutter option is set */
108
- .syntaxhighlighter.nogutter .line .content
109
- {
110
- margin-left: 0 !important;
111
- border-left: none !important;
112
- }
113
-
114
- .syntaxhighlighter .bar
115
- {
116
- }
117
-
118
- .syntaxhighlighter.collapsed .bar
119
- {
120
-
121
- }
122
-
123
- .syntaxhighlighter.nogutter .ruler
124
- {
125
- margin-left: 0 !important;
126
- padding-left: 0 !important;
127
- }
128
-
129
- .syntaxhighlighter .ruler
130
- {
131
- padding: 0 0 .5em .5em !important;
132
- margin-left: 3.3em !important;
133
- overflow: hidden !important;
134
- }
135
-
136
- /* Adjust some properties when collapsed */
137
-
138
- .syntaxhighlighter.collapsed .lines,
139
- .syntaxhighlighter.collapsed .ruler
140
- {
141
- display: none !important;
142
- }
143
-
144
- /* Styles for the toolbar */
145
-
146
- .syntaxhighlighter .toolbar
147
- {
148
- position: absolute !important;
149
- right: 0px !important;
150
- top: 0px !important;
151
- font-size: 1px !important;
152
- padding: 8px 8px 8px 0 !important; /* in px because images don't scale with ems */
153
- }
154
-
155
- .syntaxhighlighter.collapsed .toolbar
156
- {
157
- font-size: 80% !important;
158
- padding: .2em 0 .5em .5em !important;
159
- position: static !important;
160
- }
161
-
162
- .syntaxhighlighter .toolbar a.item,
163
- .syntaxhighlighter .toolbar .item
164
- {
165
- display: block !important;
166
- float: left !important;
167
- margin-left: 8px !important;
168
- background-repeat: no-repeat !important;
169
- overflow: hidden !important;
170
- text-indent: -5000px !important;
171
- }
172
-
173
- .syntaxhighlighter.collapsed .toolbar .item
174
- {
175
- display: none !important;
176
- }
177
-
178
- .syntaxhighlighter.collapsed .toolbar .item.expandSource
179
- {
180
- background-image: url(magnifier.png) !important;
181
- display: inline !important;
182
- text-indent: 0 !important;
183
- width: auto !important;
184
- float: none !important;
185
- height: 16px !important;
186
- padding-left: 20px !important;
187
- }
188
-
189
- .syntaxhighlighter .toolbar .item.viewSource
190
- {
191
- background-image: url(page_white_code.png) !important;
192
- }
193
-
194
- .syntaxhighlighter .toolbar .item.printSource
195
- {
196
- background-image: url(printer.png) !important;
197
- }
198
-
199
- .syntaxhighlighter .toolbar .item.copyToClipboard
200
- {
201
- text-indent: 0 !important;
202
- background: none !important;
203
- overflow: visible !important;
204
- }
205
-
206
- .syntaxhighlighter .toolbar .item.about
207
- {
208
- background-image: url(help.png) !important;
209
- }
210
-
211
- /**
212
- * Print view.
213
- * Colors are based on the default theme without background.
214
- */
215
-
216
- .syntaxhighlighter.printing,
217
- .syntaxhighlighter.printing .line.alt1 .content,
218
- .syntaxhighlighter.printing .line.alt2 .content,
219
- .syntaxhighlighter.printing .line.highlighted .number,
220
- .syntaxhighlighter.printing .line.highlighted.alt1 .content,
221
- .syntaxhighlighter.printing .line.highlighted.alt2 .content,
222
- .syntaxhighlighter.printing .line .content .block
223
- {
224
- background: none !important;
225
- }
226
-
227
- /* Gutter line numbers */
228
- .syntaxhighlighter.printing .line .number
229
- {
230
- color: #bbb !important;
231
- }
232
-
233
- /* Add border to the lines */
234
- .syntaxhighlighter.printing .line .content
235
- {
236
- color: #000 !important;
237
- }
238
-
239
- /* Toolbar when visible */
240
- .syntaxhighlighter.printing .toolbar,
241
- .syntaxhighlighter.printing .ruler
242
- {
243
- display: none !important;
244
- }
245
-
246
- .syntaxhighlighter.printing a
247
- {
248
- text-decoration: none !important;
249
- }
250
-
251
- .syntaxhighlighter.printing .plain,
252
- .syntaxhighlighter.printing .plain a
253
- {
254
- color: #000 !important;
255
- }
256
-
257
- .syntaxhighlighter.printing .comments,
258
- .syntaxhighlighter.printing .comments a
259
- {
260
- color: #008200 !important;
261
- }
262
-
263
- .syntaxhighlighter.printing .string,
264
- .syntaxhighlighter.printing .string a
265
- {
266
- color: blue !important;
267
- }
268
-
269
- .syntaxhighlighter.printing .keyword
270
- {
271
- color: #069 !important;
272
- font-weight: bold !important;
273
- }
274
-
275
- .syntaxhighlighter.printing .preprocessor
276
- {
277
- color: gray !important;
278
- }
279
-
280
- .syntaxhighlighter.printing .variable
281
- {
282
- color: #a70 !important;
283
- }
284
-
285
- .syntaxhighlighter.printing .value
286
- {
287
- color: #090 !important;
288
- }
289
-
290
- .syntaxhighlighter.printing .functions
291
- {
292
- color: #ff1493 !important;
293
- }
294
-
295
- .syntaxhighlighter.printing .constants
296
- {
297
- color: #0066CC !important;
298
- }
299
-
300
- .syntaxhighlighter.printing .script
301
- {
302
- font-weight: bold !important;
303
- }
304
-
305
- .syntaxhighlighter.printing .color1,
306
- .syntaxhighlighter.printing .color1 a
307
- {
308
- color: #808080 !important;
309
- }
310
-
311
- .syntaxhighlighter.printing .color2,
312
- .syntaxhighlighter.printing .color2 a
313
- {
314
- color: #ff1493 !important;
315
- }
316
-
317
- .syntaxhighlighter.printing .color3,
318
- .syntaxhighlighter.printing .color3 a
319
- {
320
- color: red !important;
321
- }
@@ -1,191 +0,0 @@
1
- /**
2
- * SyntaxHighlighter
3
- * http://alexgorbatchev.com/
4
- *
5
- * SyntaxHighlighter is donationware. If you are using it, please donate.
6
- * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
7
- *
8
- * @version
9
- * 2.0.296 (March 01 2009)
10
- *
11
- * @copyright
12
- * Copyright (C) 2004-2009 Alex Gorbatchev.
13
- *
14
- * @license
15
- * This file is part of SyntaxHighlighter.
16
- *
17
- * SyntaxHighlighter is free software: you can redistribute it and/or modify
18
- * it under the terms of the GNU General Public License as published by
19
- * the Free Software Foundation, either version 3 of the License, or
20
- * (at your option) any later version.
21
- *
22
- * SyntaxHighlighter is distributed in the hope that it will be useful,
23
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
- * GNU General Public License for more details.
26
- *
27
- * You should have received a copy of the GNU General Public License
28
- * along with SyntaxHighlighter. If not, see <http://www.gnu.org/licenses/>.
29
- */
30
- /************************************
31
- * Default Syntax Highlighter theme.
32
- *
33
- * Interface elements.
34
- ************************************/
35
-
36
- .syntaxhighlighter
37
- {
38
- background-color: #E7E5DC !important;
39
- }
40
-
41
- /* Highlighed line number */
42
- .syntaxhighlighter .line.highlighted .number
43
- {
44
- background-color: #6CE26C !important;
45
- color: black !important;
46
- }
47
-
48
- /* Highlighed line */
49
- .syntaxhighlighter .line.highlighted.alt1 .content,
50
- .syntaxhighlighter .line.highlighted.alt2 .content
51
- {
52
- background-color: #6CE26C !important;
53
- }
54
-
55
- /* Gutter line numbers */
56
- .syntaxhighlighter .line .number
57
- {
58
- color: #5C5C5C !important;
59
- }
60
-
61
- /* Add border to the lines */
62
- .syntaxhighlighter .line .content
63
- {
64
- border-left: 3px solid #6CE26C !important;
65
- color: #000 !important;
66
- }
67
-
68
- .syntaxhighlighter.printing .line .content
69
- {
70
- border: 0 !important;
71
- }
72
-
73
- /* First line */
74
- .syntaxhighlighter .line.alt1 .content
75
- {
76
- background-color: #fff !important;
77
- }
78
-
79
- /* Second line */
80
- .syntaxhighlighter .line.alt2 .content
81
- {
82
- background-color: #F8F8F8 !important;
83
- }
84
-
85
- .syntaxhighlighter .line .content .block
86
- {
87
- background: url(wrapping.png) 0 1.1em no-repeat !important;
88
- }
89
-
90
- .syntaxhighlighter .ruler
91
- {
92
- color: silver !important;
93
- background-color: #F8F8F8 !important;
94
- border-left: 3px solid #6CE26C !important;
95
- }
96
-
97
- .syntaxhighlighter.nogutter .ruler
98
- {
99
- border: 0 !important;
100
- }
101
-
102
- .syntaxhighlighter .toolbar
103
- {
104
- background-color: #F8F8F8 !important;
105
- border: #E7E5DC solid 1px !important;
106
- }
107
-
108
- .syntaxhighlighter .toolbar a
109
- {
110
- color: #a0a0a0 !important;
111
- }
112
-
113
- .syntaxhighlighter .toolbar a:hover
114
- {
115
- color: red !important;
116
- }
117
-
118
- /************************************
119
- * Actual syntax highlighter colors.
120
- ************************************/
121
- .syntaxhighlighter .plain,
122
- .syntaxhighlighter .plain a
123
- {
124
- color: #000 !important;
125
- }
126
-
127
- .syntaxhighlighter .comments,
128
- .syntaxhighlighter .comments a
129
- {
130
- color: #008200 !important;
131
- }
132
-
133
- .syntaxhighlighter .string,
134
- .syntaxhighlighter .string a
135
- {
136
- color: blue !important;
137
- }
138
-
139
- .syntaxhighlighter .keyword
140
- {
141
- color: #069 !important;
142
- font-weight: bold !important;
143
- }
144
-
145
- .syntaxhighlighter .preprocessor
146
- {
147
- color: gray !important;
148
- }
149
-
150
- .syntaxhighlighter .variable
151
- {
152
- color: #a70 !important;
153
- }
154
-
155
- .syntaxhighlighter .value
156
- {
157
- color: #090 !important;
158
- }
159
-
160
- .syntaxhighlighter .functions
161
- {
162
- color: #ff1493 !important;
163
- }
164
-
165
- .syntaxhighlighter .constants
166
- {
167
- color: #0066CC !important;
168
- }
169
-
170
- .syntaxhighlighter .script
171
- {
172
- background-color: yellow !important;
173
- }
174
-
175
- .syntaxhighlighter .color1,
176
- .syntaxhighlighter .color1 a
177
- {
178
- color: #808080 !important;
179
- }
180
-
181
- .syntaxhighlighter .color2,
182
- .syntaxhighlighter .color2 a
183
- {
184
- color: #ff1493 !important;
185
- }
186
-
187
- .syntaxhighlighter .color3,
188
- .syntaxhighlighter .color3 a
189
- {
190
- color: red !important;
191
- }