ninjs 0.9.2 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. data/.bundle/config +2 -0
  2. data/Gemfile +17 -0
  3. data/Gemfile.lock +38 -0
  4. data/README.textile +1 -1
  5. data/Rakefile +60 -0
  6. data/VERSION +1 -0
  7. data/lib/ninjs.rb +0 -1
  8. data/lib/ninjs/command.rb +16 -1
  9. data/lib/ninjs/manifest.rb +1 -1
  10. data/lib/ninjs/project.rb +74 -91
  11. data/ninjs.gemspec +305 -104
  12. data/repository/jquery/fancybox/assets/1.3.1/images/fancybox/jquery.easing-1.3.pack.js +72 -0
  13. data/repository/jquery/fancybox/assets/1.3.1/scss/fancybox.scss +69 -0
  14. data/repository/jquery/ui/1.8.7.js +783 -0
  15. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.accordion.css +19 -0
  16. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.all.css +11 -0
  17. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.autocomplete.css +53 -0
  18. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.base.css +11 -0
  19. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.button.css +38 -0
  20. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.core.css +41 -0
  21. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.datepicker.css +68 -0
  22. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.dialog.css +21 -0
  23. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.progressbar.css +11 -0
  24. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.resizable.css +20 -0
  25. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.selectable.css +10 -0
  26. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.slider.css +24 -0
  27. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.tabs.css +18 -0
  28. data/repository/jquery/ui/assets/1.8.7/css/jqueryui/jquery.ui.theme.css +252 -0
  29. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  30. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  31. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  32. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  33. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_75_dadada_1x400.png +0 -0
  34. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  35. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  36. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  37. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_222222_256x240.png +0 -0
  38. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_2e83ff_256x240.png +0 -0
  39. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_454545_256x240.png +0 -0
  40. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_888888_256x240.png +0 -0
  41. data/repository/jquery/ui/assets/1.8.7/images/jqueryui/ui-icons_cd0a0a_256x240.png +0 -0
  42. data/repository/jquery/ui/latest.js +1 -0
  43. data/repository/ninjs/core/.core.pdoc.yaml +0 -0
  44. data/repository/ninjs/core/.existence.pdoc.yaml +12 -0
  45. data/repository/ninjs/core/.extend.pdoc.yaml +0 -0
  46. data/repository/ninjs/core/.nin.pdoc.yaml +0 -0
  47. data/repository/ninjs/core/application.js +43 -0
  48. data/repository/ninjs/core/existence.js +221 -11
  49. data/repository/ninjs/core/extend.js +18 -0
  50. data/repository/ninjs/core/module.js +230 -0
  51. data/repository/ninjs/core/nin.js +3 -137
  52. data/repository/ninjs/docs/Data/ClassHierarchy.nd +0 -0
  53. data/repository/ninjs/docs/Data/ConfigFileInfo.nd +0 -0
  54. data/repository/ninjs/docs/Data/FileInfo.nd +16 -0
  55. data/repository/ninjs/docs/Data/ImageFileInfo.nd +0 -0
  56. data/repository/ninjs/docs/Data/ImageReferenceTable.nd +0 -0
  57. data/repository/ninjs/docs/Data/IndexInfo.nd +0 -0
  58. data/repository/ninjs/docs/Data/PreviousMenuState.nd +0 -0
  59. data/repository/ninjs/docs/Data/PreviousSettings.nd +0 -0
  60. data/repository/ninjs/docs/Data/SymbolTable.nd +0 -0
  61. data/repository/ninjs/docs/Languages.txt +113 -0
  62. data/repository/ninjs/docs/Menu.txt +63 -0
  63. data/repository/ninjs/docs/Topics.txt +81 -0
  64. data/repository/ninjs/docs/files/core/application-js.html +44 -0
  65. data/repository/ninjs/docs/files/core/existence-js.html +60 -0
  66. data/repository/ninjs/docs/files/core/extend-js.html +46 -0
  67. data/repository/ninjs/docs/files/core/module-js.html +80 -0
  68. data/repository/ninjs/docs/files/core/nin-js.html +38 -0
  69. data/repository/ninjs/docs/files/existence-js.html +54 -0
  70. data/repository/ninjs/docs/index.html +1 -0
  71. data/repository/ninjs/docs/index/Classes.html +33 -0
  72. data/repository/ninjs/docs/index/Files.html +45 -0
  73. data/repository/ninjs/docs/index/Functions.html +57 -0
  74. data/repository/ninjs/docs/index/General.html +77 -0
  75. data/repository/ninjs/docs/index/Variables.html +45 -0
  76. data/repository/ninjs/docs/javascript/main.js +841 -0
  77. data/repository/ninjs/docs/javascript/prettify.js +1526 -0
  78. data/repository/ninjs/docs/javascript/searchdata.js +152 -0
  79. data/repository/ninjs/docs/search/ClassesN.html +20 -0
  80. data/repository/ninjs/docs/search/FilesA.html +20 -0
  81. data/repository/ninjs/docs/search/FilesE.html +20 -0
  82. data/repository/ninjs/docs/search/FilesM.html +20 -0
  83. data/repository/ninjs/docs/search/FilesN.html +20 -0
  84. data/repository/ninjs/docs/search/FunctionsA.html +20 -0
  85. data/repository/ninjs/docs/search/FunctionsC.html +20 -0
  86. data/repository/ninjs/docs/search/FunctionsE.html +20 -0
  87. data/repository/ninjs/docs/search/FunctionsI.html +20 -0
  88. data/repository/ninjs/docs/search/FunctionsM.html +20 -0
  89. data/repository/ninjs/docs/search/FunctionsR.html +20 -0
  90. data/repository/ninjs/docs/search/FunctionsS.html +20 -0
  91. data/repository/ninjs/docs/search/GeneralA.html +20 -0
  92. data/repository/ninjs/docs/search/GeneralC.html +20 -0
  93. data/repository/ninjs/docs/search/GeneralD.html +20 -0
  94. data/repository/ninjs/docs/search/GeneralE.html +20 -0
  95. data/repository/ninjs/docs/search/GeneralF.html +20 -0
  96. data/repository/ninjs/docs/search/GeneralI.html +20 -0
  97. data/repository/ninjs/docs/search/GeneralM.html +20 -0
  98. data/repository/ninjs/docs/search/GeneralN.html +20 -0
  99. data/repository/ninjs/docs/search/GeneralR.html +20 -0
  100. data/repository/ninjs/docs/search/GeneralS.html +20 -0
  101. data/repository/ninjs/docs/search/GeneralT.html +20 -0
  102. data/repository/ninjs/docs/search/GeneralV.html +20 -0
  103. data/repository/ninjs/docs/search/NoResults.html +15 -0
  104. data/repository/ninjs/docs/search/VariablesD.html +20 -0
  105. data/repository/ninjs/docs/search/VariablesN.html +20 -0
  106. data/repository/ninjs/docs/search/VariablesR.html +20 -0
  107. data/repository/ninjs/docs/search/VariablesT.html +20 -0
  108. data/repository/ninjs/docs/styles/main.css +828 -0
  109. data/repository/ninjs/docs/styles/mystyles.css +828 -0
  110. data/repository/ninjs/tests/index.html +6 -6
  111. data/repository/ninjs/tests/ninjs.test.js +94 -43
  112. data/repository/ninjs/tests/ninjs.utilities.test.js +6 -18
  113. data/repository/ninjs/tests/qunit/qunit.css +197 -0
  114. data/repository/ninjs/tests/qunit/qunit.js +1415 -0
  115. data/repository/ninjs/utilities/all.js +2 -1
  116. data/repository/ninjs/utilities/array.js +3 -3
  117. data/repository/ninjs/utilities/cookie.js +0 -0
  118. data/repository/ninjs/utilities/number.js +2 -2
  119. data/repository/ninjs/utilities/string.js +3 -3
  120. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCore.css +226 -0
  121. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDefault.css +328 -0
  122. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDjango.css +331 -0
  123. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEclipse.css +339 -0
  124. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEmacs.css +324 -0
  125. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreFadeToGrey.css +328 -0
  126. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMDUltra.css +324 -0
  127. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMidnight.css +324 -0
  128. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreRDark.css +324 -0
  129. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDefault.css +117 -0
  130. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDjango.css +120 -0
  131. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEclipse.css +128 -0
  132. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEmacs.css +113 -0
  133. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeFadeToGrey.css +117 -0
  134. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMDUltra.css +113 -0
  135. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMidnight.css +113 -0
  136. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeRDark.css +113 -0
  137. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCore.scss +216 -0
  138. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDefault.scss +2 -0
  139. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDjango.scss +2 -0
  140. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEclipse.scss +2 -0
  141. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEmacs.scss +2 -0
  142. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreFadeToGrey.scss +2 -0
  143. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMDUltra.scss +2 -0
  144. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMidnight.scss +2 -0
  145. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreRDark.scss +2 -0
  146. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDefault.scss +7 -0
  147. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDjango.scss +36 -0
  148. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEclipse.scss +48 -0
  149. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEmacs.scss +32 -0
  150. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeFadeToGrey.scss +36 -0
  151. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMDUltra.scss +32 -0
  152. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMidnight.scss +32 -0
  153. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeRDark.scss +32 -0
  154. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_theme_template.scss +120 -0
  155. data/repository/syntaxhighlighter/default.js +2 -1
  156. data/repository/syntaxhighlighter/shBrushAppleScript.js +1 -1
  157. data/repository/syntaxhighlighter/shBrushPerl.js +1 -1
  158. data/repository/syntaxhighlighter/shBrushPhp.js +4 -4
  159. metadata +317 -33
@@ -1,4 +1,5 @@
1
1
  //= require "array"
2
2
  //= require "string"
3
3
  //= require "number"
4
- //= require "css"
4
+ //= require "css"
5
+ //= require "cookie"
@@ -11,7 +11,7 @@ Array.method('each', function(callback) {
11
11
  if(is_undefined(callback)) {
12
12
  throw new SyntaxError("Array.each(callback): callback is undefined");
13
13
  }
14
-
14
+
15
15
  for (var i = 0; i < this.length; i++) {
16
16
  var args = [this[i], i];
17
17
  callback.apply(this, args);
@@ -29,6 +29,6 @@ Array.method('contains', function(suspect) {
29
29
  matches.push(index);
30
30
  }
31
31
  });
32
-
32
+
33
33
  return matches.not_empty() ? matches : false;
34
- });
34
+ });
File without changes
@@ -2,10 +2,10 @@ Number.method('to_hex', function() {
2
2
  if (this === 0) {
3
3
  return "00";
4
4
  }
5
-
5
+
6
6
  var chars = "0123456789ABCDEF";
7
7
  var n = Math.max(0, this);
8
8
  n = Math.min(n, 255);
9
9
  n = Math.round(n);
10
10
  return chars.charAt((n - n % 16)/16) + chars.charAt(n % 16);
11
- });
11
+ });
@@ -1,9 +1,9 @@
1
1
  String.method('is_empty', function() {
2
- return (this === '') ? true : false;
2
+ return (this.length < 1) ? true : false;
3
3
  });
4
4
 
5
5
  String.method('not_empty', function() {
6
- return (this === '') ? false : true;
6
+ return (this.length < 1) ? false : true;
7
7
  });
8
8
 
9
9
  String.method('is_numeric', function() {
@@ -28,7 +28,7 @@ String.method('each', function(callback) {
28
28
  if(is_undefined(callback)) {
29
29
  throw new SyntaxError("String.each(callback): callback is undefined");
30
30
  }
31
-
31
+
32
32
  for (var i = 0; i < this.length; i++) {
33
33
  var args = [this.charAt(i), i];
34
34
  callback.apply(this, args);
@@ -0,0 +1,226 @@
1
+ /**
2
+ * SyntaxHighlighter
3
+ * http://alexgorbatchev.com/SyntaxHighlighter
4
+ *
5
+ * SyntaxHighlighter is donationware. If you are using it, please donate.
6
+ * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7
+ *
8
+ * @version
9
+ * 3.0.83 (July 02 2010)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2010 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ .syntaxhighlighter a,
18
+ .syntaxhighlighter div,
19
+ .syntaxhighlighter code,
20
+ .syntaxhighlighter table,
21
+ .syntaxhighlighter table td,
22
+ .syntaxhighlighter table tr,
23
+ .syntaxhighlighter table tbody,
24
+ .syntaxhighlighter table thead,
25
+ .syntaxhighlighter table caption,
26
+ .syntaxhighlighter textarea {
27
+ -moz-border-radius: 0 0 0 0 !important;
28
+ -webkit-border-radius: 0 0 0 0 !important;
29
+ background: none !important;
30
+ border: 0 !important;
31
+ bottom: auto !important;
32
+ float: none !important;
33
+ height: auto !important;
34
+ left: auto !important;
35
+ line-height: 1.1em !important;
36
+ margin: 0 !important;
37
+ outline: 0 !important;
38
+ overflow: visible !important;
39
+ padding: 0 !important;
40
+ position: static !important;
41
+ right: auto !important;
42
+ text-align: left !important;
43
+ top: auto !important;
44
+ vertical-align: baseline !important;
45
+ width: auto !important;
46
+ box-sizing: content-box !important;
47
+ font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
48
+ font-weight: normal !important;
49
+ font-style: normal !important;
50
+ font-size: 1em !important;
51
+ min-height: inherit !important;
52
+ min-height: auto !important;
53
+ }
54
+
55
+ .syntaxhighlighter {
56
+ width: 100% !important;
57
+ margin: 1em 0 1em 0 !important;
58
+ position: relative !important;
59
+ overflow: auto !important;
60
+ font-size: 1em !important;
61
+ }
62
+ .syntaxhighlighter.source {
63
+ overflow: hidden !important;
64
+ }
65
+ .syntaxhighlighter .bold {
66
+ font-weight: bold !important;
67
+ }
68
+ .syntaxhighlighter .italic {
69
+ font-style: italic !important;
70
+ }
71
+ .syntaxhighlighter .line {
72
+ white-space: pre !important;
73
+ }
74
+ .syntaxhighlighter table {
75
+ width: 100% !important;
76
+ }
77
+ .syntaxhighlighter table caption {
78
+ text-align: left !important;
79
+ padding: .5em 0 0.5em 1em !important;
80
+ }
81
+ .syntaxhighlighter table td.code {
82
+ width: 100% !important;
83
+ }
84
+ .syntaxhighlighter table td.code .container {
85
+ position: relative !important;
86
+ }
87
+ .syntaxhighlighter table td.code .container textarea {
88
+ box-sizing: border-box !important;
89
+ position: absolute !important;
90
+ left: 0 !important;
91
+ top: 0 !important;
92
+ width: 100% !important;
93
+ height: 100% !important;
94
+ border: none !important;
95
+ background: white !important;
96
+ padding-left: 1em !important;
97
+ overflow: hidden !important;
98
+ white-space: pre !important;
99
+ }
100
+ .syntaxhighlighter table td.gutter .line {
101
+ text-align: right !important;
102
+ padding: 0 0.5em 0 1em !important;
103
+ }
104
+ .syntaxhighlighter table td.code .line {
105
+ padding: 0 1em !important;
106
+ }
107
+ .syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
108
+ padding-left: 0em !important;
109
+ }
110
+ .syntaxhighlighter.show {
111
+ display: block !important;
112
+ }
113
+ .syntaxhighlighter.collapsed table {
114
+ display: none !important;
115
+ }
116
+ .syntaxhighlighter.collapsed .toolbar {
117
+ padding: 0.1em 0.8em 0em 0.8em !important;
118
+ font-size: 1em !important;
119
+ position: static !important;
120
+ width: auto !important;
121
+ height: auto !important;
122
+ }
123
+ .syntaxhighlighter.collapsed .toolbar span {
124
+ display: inline !important;
125
+ margin-right: 1em !important;
126
+ }
127
+ .syntaxhighlighter.collapsed .toolbar span a {
128
+ padding: 0 !important;
129
+ display: none !important;
130
+ }
131
+ .syntaxhighlighter.collapsed .toolbar span a.expandSource {
132
+ display: inline !important;
133
+ }
134
+ .syntaxhighlighter .toolbar {
135
+ position: absolute !important;
136
+ right: 1px !important;
137
+ top: 1px !important;
138
+ width: 11px !important;
139
+ height: 11px !important;
140
+ font-size: 10px !important;
141
+ z-index: 10 !important;
142
+ }
143
+ .syntaxhighlighter .toolbar span.title {
144
+ display: inline !important;
145
+ }
146
+ .syntaxhighlighter .toolbar a {
147
+ display: block !important;
148
+ text-align: center !important;
149
+ text-decoration: none !important;
150
+ padding-top: 1px !important;
151
+ }
152
+ .syntaxhighlighter .toolbar a.expandSource {
153
+ display: none !important;
154
+ }
155
+ .syntaxhighlighter.ie {
156
+ font-size: .9em !important;
157
+ padding: 1px 0 1px 0 !important;
158
+ }
159
+ .syntaxhighlighter.ie .toolbar {
160
+ line-height: 8px !important;
161
+ }
162
+ .syntaxhighlighter.ie .toolbar a {
163
+ padding-top: 0px !important;
164
+ }
165
+ .syntaxhighlighter.printing .line.alt1 .content,
166
+ .syntaxhighlighter.printing .line.alt2 .content,
167
+ .syntaxhighlighter.printing .line.highlighted .number,
168
+ .syntaxhighlighter.printing .line.highlighted.alt1 .content,
169
+ .syntaxhighlighter.printing .line.highlighted.alt2 .content {
170
+ background: none !important;
171
+ }
172
+ .syntaxhighlighter.printing .line .number {
173
+ color: #bbbbbb !important;
174
+ }
175
+ .syntaxhighlighter.printing .line .content {
176
+ color: black !important;
177
+ }
178
+ .syntaxhighlighter.printing .toolbar {
179
+ display: none !important;
180
+ }
181
+ .syntaxhighlighter.printing a {
182
+ text-decoration: none !important;
183
+ }
184
+ .syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
185
+ color: black !important;
186
+ }
187
+ .syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
188
+ color: #008200 !important;
189
+ }
190
+ .syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
191
+ color: blue !important;
192
+ }
193
+ .syntaxhighlighter.printing .keyword {
194
+ color: #006699 !important;
195
+ font-weight: bold !important;
196
+ }
197
+ .syntaxhighlighter.printing .preprocessor {
198
+ color: gray !important;
199
+ }
200
+ .syntaxhighlighter.printing .variable {
201
+ color: #aa7700 !important;
202
+ }
203
+ .syntaxhighlighter.printing .value {
204
+ color: #009900 !important;
205
+ }
206
+ .syntaxhighlighter.printing .functions {
207
+ color: #ff1493 !important;
208
+ }
209
+ .syntaxhighlighter.printing .constants {
210
+ color: #0066cc !important;
211
+ }
212
+ .syntaxhighlighter.printing .script {
213
+ font-weight: bold !important;
214
+ }
215
+ .syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
216
+ color: gray !important;
217
+ }
218
+ .syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
219
+ color: #ff1493 !important;
220
+ }
221
+ .syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
222
+ color: red !important;
223
+ }
224
+ .syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
225
+ color: black !important;
226
+ }
@@ -0,0 +1,328 @@
1
+ /**
2
+ * SyntaxHighlighter
3
+ * http://alexgorbatchev.com/SyntaxHighlighter
4
+ *
5
+ * SyntaxHighlighter is donationware. If you are using it, please donate.
6
+ * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
7
+ *
8
+ * @version
9
+ * 3.0.83 (July 02 2010)
10
+ *
11
+ * @copyright
12
+ * Copyright (C) 2004-2010 Alex Gorbatchev.
13
+ *
14
+ * @license
15
+ * Dual licensed under the MIT and GPL licenses.
16
+ */
17
+ .syntaxhighlighter a,
18
+ .syntaxhighlighter div,
19
+ .syntaxhighlighter code,
20
+ .syntaxhighlighter table,
21
+ .syntaxhighlighter table td,
22
+ .syntaxhighlighter table tr,
23
+ .syntaxhighlighter table tbody,
24
+ .syntaxhighlighter table thead,
25
+ .syntaxhighlighter table caption,
26
+ .syntaxhighlighter textarea {
27
+ -moz-border-radius: 0 0 0 0 !important;
28
+ -webkit-border-radius: 0 0 0 0 !important;
29
+ background: none !important;
30
+ border: 0 !important;
31
+ bottom: auto !important;
32
+ float: none !important;
33
+ height: auto !important;
34
+ left: auto !important;
35
+ line-height: 1.1em !important;
36
+ margin: 0 !important;
37
+ outline: 0 !important;
38
+ overflow: visible !important;
39
+ padding: 0 !important;
40
+ position: static !important;
41
+ right: auto !important;
42
+ text-align: left !important;
43
+ top: auto !important;
44
+ vertical-align: baseline !important;
45
+ width: auto !important;
46
+ box-sizing: content-box !important;
47
+ font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
48
+ font-weight: normal !important;
49
+ font-style: normal !important;
50
+ font-size: 1em !important;
51
+ min-height: inherit !important;
52
+ min-height: auto !important;
53
+ }
54
+
55
+ .syntaxhighlighter {
56
+ width: 100% !important;
57
+ margin: 1em 0 1em 0 !important;
58
+ position: relative !important;
59
+ overflow: auto !important;
60
+ font-size: 1em !important;
61
+ }
62
+ .syntaxhighlighter.source {
63
+ overflow: hidden !important;
64
+ }
65
+ .syntaxhighlighter .bold {
66
+ font-weight: bold !important;
67
+ }
68
+ .syntaxhighlighter .italic {
69
+ font-style: italic !important;
70
+ }
71
+ .syntaxhighlighter .line {
72
+ white-space: pre !important;
73
+ }
74
+ .syntaxhighlighter table {
75
+ width: 100% !important;
76
+ }
77
+ .syntaxhighlighter table caption {
78
+ text-align: left !important;
79
+ padding: .5em 0 0.5em 1em !important;
80
+ }
81
+ .syntaxhighlighter table td.code {
82
+ width: 100% !important;
83
+ }
84
+ .syntaxhighlighter table td.code .container {
85
+ position: relative !important;
86
+ }
87
+ .syntaxhighlighter table td.code .container textarea {
88
+ box-sizing: border-box !important;
89
+ position: absolute !important;
90
+ left: 0 !important;
91
+ top: 0 !important;
92
+ width: 100% !important;
93
+ height: 100% !important;
94
+ border: none !important;
95
+ background: white !important;
96
+ padding-left: 1em !important;
97
+ overflow: hidden !important;
98
+ white-space: pre !important;
99
+ }
100
+ .syntaxhighlighter table td.gutter .line {
101
+ text-align: right !important;
102
+ padding: 0 0.5em 0 1em !important;
103
+ }
104
+ .syntaxhighlighter table td.code .line {
105
+ padding: 0 1em !important;
106
+ }
107
+ .syntaxhighlighter.nogutter td.code .container textarea, .syntaxhighlighter.nogutter td.code .line {
108
+ padding-left: 0em !important;
109
+ }
110
+ .syntaxhighlighter.show {
111
+ display: block !important;
112
+ }
113
+ .syntaxhighlighter.collapsed table {
114
+ display: none !important;
115
+ }
116
+ .syntaxhighlighter.collapsed .toolbar {
117
+ padding: 0.1em 0.8em 0em 0.8em !important;
118
+ font-size: 1em !important;
119
+ position: static !important;
120
+ width: auto !important;
121
+ height: auto !important;
122
+ }
123
+ .syntaxhighlighter.collapsed .toolbar span {
124
+ display: inline !important;
125
+ margin-right: 1em !important;
126
+ }
127
+ .syntaxhighlighter.collapsed .toolbar span a {
128
+ padding: 0 !important;
129
+ display: none !important;
130
+ }
131
+ .syntaxhighlighter.collapsed .toolbar span a.expandSource {
132
+ display: inline !important;
133
+ }
134
+ .syntaxhighlighter .toolbar {
135
+ position: absolute !important;
136
+ right: 1px !important;
137
+ top: 1px !important;
138
+ width: 11px !important;
139
+ height: 11px !important;
140
+ font-size: 10px !important;
141
+ z-index: 10 !important;
142
+ }
143
+ .syntaxhighlighter .toolbar span.title {
144
+ display: inline !important;
145
+ }
146
+ .syntaxhighlighter .toolbar a {
147
+ display: block !important;
148
+ text-align: center !important;
149
+ text-decoration: none !important;
150
+ padding-top: 1px !important;
151
+ }
152
+ .syntaxhighlighter .toolbar a.expandSource {
153
+ display: none !important;
154
+ }
155
+ .syntaxhighlighter.ie {
156
+ font-size: .9em !important;
157
+ padding: 1px 0 1px 0 !important;
158
+ }
159
+ .syntaxhighlighter.ie .toolbar {
160
+ line-height: 8px !important;
161
+ }
162
+ .syntaxhighlighter.ie .toolbar a {
163
+ padding-top: 0px !important;
164
+ }
165
+ .syntaxhighlighter.printing .line.alt1 .content,
166
+ .syntaxhighlighter.printing .line.alt2 .content,
167
+ .syntaxhighlighter.printing .line.highlighted .number,
168
+ .syntaxhighlighter.printing .line.highlighted.alt1 .content,
169
+ .syntaxhighlighter.printing .line.highlighted.alt2 .content {
170
+ background: none !important;
171
+ }
172
+ .syntaxhighlighter.printing .line .number {
173
+ color: #bbbbbb !important;
174
+ }
175
+ .syntaxhighlighter.printing .line .content {
176
+ color: black !important;
177
+ }
178
+ .syntaxhighlighter.printing .toolbar {
179
+ display: none !important;
180
+ }
181
+ .syntaxhighlighter.printing a {
182
+ text-decoration: none !important;
183
+ }
184
+ .syntaxhighlighter.printing .plain, .syntaxhighlighter.printing .plain a {
185
+ color: black !important;
186
+ }
187
+ .syntaxhighlighter.printing .comments, .syntaxhighlighter.printing .comments a {
188
+ color: #008200 !important;
189
+ }
190
+ .syntaxhighlighter.printing .string, .syntaxhighlighter.printing .string a {
191
+ color: blue !important;
192
+ }
193
+ .syntaxhighlighter.printing .keyword {
194
+ color: #006699 !important;
195
+ font-weight: bold !important;
196
+ }
197
+ .syntaxhighlighter.printing .preprocessor {
198
+ color: gray !important;
199
+ }
200
+ .syntaxhighlighter.printing .variable {
201
+ color: #aa7700 !important;
202
+ }
203
+ .syntaxhighlighter.printing .value {
204
+ color: #009900 !important;
205
+ }
206
+ .syntaxhighlighter.printing .functions {
207
+ color: #ff1493 !important;
208
+ }
209
+ .syntaxhighlighter.printing .constants {
210
+ color: #0066cc !important;
211
+ }
212
+ .syntaxhighlighter.printing .script {
213
+ font-weight: bold !important;
214
+ }
215
+ .syntaxhighlighter.printing .color1, .syntaxhighlighter.printing .color1 a {
216
+ color: gray !important;
217
+ }
218
+ .syntaxhighlighter.printing .color2, .syntaxhighlighter.printing .color2 a {
219
+ color: #ff1493 !important;
220
+ }
221
+ .syntaxhighlighter.printing .color3, .syntaxhighlighter.printing .color3 a {
222
+ color: red !important;
223
+ }
224
+ .syntaxhighlighter.printing .break, .syntaxhighlighter.printing .break a {
225
+ color: black !important;
226
+ }
227
+
228
+ .syntaxhighlighter {
229
+ background-color: white !important;
230
+ }
231
+ .syntaxhighlighter .line.alt1 {
232
+ background-color: white !important;
233
+ }
234
+ .syntaxhighlighter .line.alt2 {
235
+ background-color: white !important;
236
+ }
237
+ .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 {
238
+ background-color: #e0e0e0 !important;
239
+ }
240
+ .syntaxhighlighter .line.highlighted.number {
241
+ color: black !important;
242
+ }
243
+ .syntaxhighlighter table caption {
244
+ color: black !important;
245
+ }
246
+ .syntaxhighlighter .gutter {
247
+ color: #afafaf !important;
248
+ }
249
+ .syntaxhighlighter .gutter .line {
250
+ border-right: 3px solid #6ce26c !important;
251
+ }
252
+ .syntaxhighlighter .gutter .line.highlighted {
253
+ background-color: #6ce26c !important;
254
+ color: white !important;
255
+ }
256
+ .syntaxhighlighter.printing .line .content {
257
+ border: none !important;
258
+ }
259
+ .syntaxhighlighter.collapsed {
260
+ overflow: visible !important;
261
+ }
262
+ .syntaxhighlighter.collapsed .toolbar {
263
+ color: blue !important;
264
+ background: white !important;
265
+ border: 1px solid #6ce26c !important;
266
+ }
267
+ .syntaxhighlighter.collapsed .toolbar a {
268
+ color: blue !important;
269
+ }
270
+ .syntaxhighlighter.collapsed .toolbar a:hover {
271
+ color: red !important;
272
+ }
273
+ .syntaxhighlighter .toolbar {
274
+ color: white !important;
275
+ background: #6ce26c !important;
276
+ border: none !important;
277
+ }
278
+ .syntaxhighlighter .toolbar a {
279
+ color: white !important;
280
+ }
281
+ .syntaxhighlighter .toolbar a:hover {
282
+ color: black !important;
283
+ }
284
+ .syntaxhighlighter .plain, .syntaxhighlighter .plain a {
285
+ color: black !important;
286
+ }
287
+ .syntaxhighlighter .comments, .syntaxhighlighter .comments a {
288
+ color: #008200 !important;
289
+ }
290
+ .syntaxhighlighter .string, .syntaxhighlighter .string a {
291
+ color: blue !important;
292
+ }
293
+ .syntaxhighlighter .keyword {
294
+ color: #006699 !important;
295
+ }
296
+ .syntaxhighlighter .preprocessor {
297
+ color: gray !important;
298
+ }
299
+ .syntaxhighlighter .variable {
300
+ color: #aa7700 !important;
301
+ }
302
+ .syntaxhighlighter .value {
303
+ color: #009900 !important;
304
+ }
305
+ .syntaxhighlighter .functions {
306
+ color: #ff1493 !important;
307
+ }
308
+ .syntaxhighlighter .constants {
309
+ color: #0066cc !important;
310
+ }
311
+ .syntaxhighlighter .script {
312
+ font-weight: bold !important;
313
+ color: #006699 !important;
314
+ background-color: none !important;
315
+ }
316
+ .syntaxhighlighter .color1, .syntaxhighlighter .color1 a {
317
+ color: gray !important;
318
+ }
319
+ .syntaxhighlighter .color2, .syntaxhighlighter .color2 a {
320
+ color: #ff1493 !important;
321
+ }
322
+ .syntaxhighlighter .color3, .syntaxhighlighter .color3 a {
323
+ color: red !important;
324
+ }
325
+
326
+ .syntaxhighlighter .keyword {
327
+ font-weight: bold !important;
328
+ }