ninjs 0.14.1 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. data/.bundle/config +2 -2
  2. data/.travis.yml +1 -0
  3. data/Gemfile +1 -0
  4. data/Gemfile.lock +13 -11
  5. data/README.md +108 -93
  6. data/Rakefile +17 -7
  7. data/VERSION +1 -1
  8. data/bin/ninjs +24 -22
  9. data/lib/ninjs/command.rb +32 -21
  10. data/lib/ninjs/configuration.rb +35 -53
  11. data/lib/ninjs/generator.rb +6 -6
  12. data/lib/ninjs/notification.rb +5 -5
  13. data/lib/ninjs/project.rb +31 -25
  14. data/ninjs.gemspec +18 -142
  15. data/repository/ninjs/core/application.js +13 -24
  16. data/repository/ninjs/core/dom.js +87 -68
  17. data/repository/ninjs/core/existence.js +44 -105
  18. data/repository/ninjs/core/extend.js +11 -32
  19. data/repository/ninjs/core/module.js +53 -107
  20. data/repository/ninjs/core/nin.js +5 -7
  21. data/repository/ninjs/tests/extension.test.js +0 -10
  22. data/repository/ninjs/tests/index.html +19 -20
  23. data/repository/ninjs/tests/module.test.js +52 -56
  24. data/repository/ninjs/utilities/array.js +8 -8
  25. data/repository/ninjs/utilities/cookie.js +59 -0
  26. data/repository/ninjs/utilities/css.js +7 -7
  27. data/repository/ninjs/utilities/number.js +2 -2
  28. data/repository/ninjs/utilities/string.js +26 -26
  29. data/spec/cli_spec.rb +90 -88
  30. data/spec/command_spec.rb +104 -137
  31. data/spec/configuration_spec.rb +23 -37
  32. data/spec/fixtures/_global.module.js +9 -0
  33. data/spec/fixtures/compressed.myapp.js +23 -44
  34. data/spec/fixtures/foo.elements.js +1 -1
  35. data/spec/fixtures/foo.js +5 -5
  36. data/spec/fixtures/foo.model.js +1 -1
  37. data/spec/fixtures/foo.module.js +3 -3
  38. data/spec/fixtures/hello.elements.js +1 -1
  39. data/spec/fixtures/hello.js +5 -5
  40. data/spec/fixtures/hello.model.js +1 -1
  41. data/spec/fixtures/hello.module.js +3 -3
  42. data/spec/fixtures/myapp.initial.js +198 -329
  43. data/spec/fixtures/myapp.js +285 -357
  44. data/spec/fixtures/mymodule.alias.module.js +2 -2
  45. data/spec/fixtures/mymodule.dependencies.module.js +2 -2
  46. data/spec/fixtures/mymodule.elements.js +1 -1
  47. data/spec/fixtures/mymodule.model.js +1 -1
  48. data/spec/fixtures/mymodule.module.js +2 -2
  49. data/spec/fixtures/mymodule.module_alias.module.js +10 -0
  50. data/spec/fixtures/new.ninjs.conf +2 -0
  51. data/spec/fixtures/nin.js +198 -329
  52. data/spec/fixtures/ninjs.conf +2 -0
  53. data/spec/fixtures/updated.ninjs.conf +8 -0
  54. data/spec/generator_spec.rb +37 -26
  55. data/spec/ninjs_spec.rb +6 -6
  56. data/spec/project_spec.rb +229 -221
  57. data/spec/spec_helper.rb +3 -1
  58. data/spec/testspec_spec.rb +7 -0
  59. metadata +28 -145
  60. data/repository/json2.js +0 -482
  61. data/repository/modernizr/1.5.js +0 -28
  62. data/repository/modernizr/latest.js +0 -1
  63. data/repository/ninjs/docs/Data/ClassHierarchy.nd +0 -0
  64. data/repository/ninjs/docs/Data/ConfigFileInfo.nd +0 -0
  65. data/repository/ninjs/docs/Data/FileInfo.nd +0 -16
  66. data/repository/ninjs/docs/Data/ImageFileInfo.nd +0 -0
  67. data/repository/ninjs/docs/Data/ImageReferenceTable.nd +0 -0
  68. data/repository/ninjs/docs/Data/IndexInfo.nd +0 -0
  69. data/repository/ninjs/docs/Data/PreviousMenuState.nd +0 -0
  70. data/repository/ninjs/docs/Data/PreviousSettings.nd +0 -0
  71. data/repository/ninjs/docs/Data/SymbolTable.nd +0 -0
  72. data/repository/ninjs/docs/Languages.txt +0 -113
  73. data/repository/ninjs/docs/Menu.txt +0 -63
  74. data/repository/ninjs/docs/Topics.txt +0 -81
  75. data/repository/ninjs/docs/files/core/application-js.html +0 -44
  76. data/repository/ninjs/docs/files/core/existence-js.html +0 -60
  77. data/repository/ninjs/docs/files/core/extend-js.html +0 -55
  78. data/repository/ninjs/docs/files/core/module-js.html +0 -80
  79. data/repository/ninjs/docs/files/core/nin-js.html +0 -38
  80. data/repository/ninjs/docs/index.html +0 -1
  81. data/repository/ninjs/docs/index/Classes.html +0 -33
  82. data/repository/ninjs/docs/index/Files.html +0 -45
  83. data/repository/ninjs/docs/index/Functions.html +0 -65
  84. data/repository/ninjs/docs/index/General.html +0 -85
  85. data/repository/ninjs/docs/index/Variables.html +0 -45
  86. data/repository/ninjs/docs/javascript/main.js +0 -841
  87. data/repository/ninjs/docs/javascript/prettify.js +0 -1526
  88. data/repository/ninjs/docs/javascript/searchdata.js +0 -152
  89. data/repository/ninjs/docs/search/ClassesN.html +0 -20
  90. data/repository/ninjs/docs/search/FilesA.html +0 -20
  91. data/repository/ninjs/docs/search/FilesE.html +0 -20
  92. data/repository/ninjs/docs/search/FilesM.html +0 -20
  93. data/repository/ninjs/docs/search/FilesN.html +0 -20
  94. data/repository/ninjs/docs/search/FunctionsA.html +0 -20
  95. data/repository/ninjs/docs/search/FunctionsC.html +0 -20
  96. data/repository/ninjs/docs/search/FunctionsE.html +0 -20
  97. data/repository/ninjs/docs/search/FunctionsI.html +0 -20
  98. data/repository/ninjs/docs/search/FunctionsM.html +0 -20
  99. data/repository/ninjs/docs/search/FunctionsR.html +0 -20
  100. data/repository/ninjs/docs/search/FunctionsS.html +0 -20
  101. data/repository/ninjs/docs/search/FunctionsSymbols.html +0 -20
  102. data/repository/ninjs/docs/search/FunctionsU.html +0 -20
  103. data/repository/ninjs/docs/search/GeneralA.html +0 -20
  104. data/repository/ninjs/docs/search/GeneralC.html +0 -20
  105. data/repository/ninjs/docs/search/GeneralD.html +0 -20
  106. data/repository/ninjs/docs/search/GeneralE.html +0 -20
  107. data/repository/ninjs/docs/search/GeneralF.html +0 -20
  108. data/repository/ninjs/docs/search/GeneralI.html +0 -20
  109. data/repository/ninjs/docs/search/GeneralM.html +0 -20
  110. data/repository/ninjs/docs/search/GeneralN.html +0 -20
  111. data/repository/ninjs/docs/search/GeneralR.html +0 -20
  112. data/repository/ninjs/docs/search/GeneralS.html +0 -20
  113. data/repository/ninjs/docs/search/GeneralSymbols.html +0 -20
  114. data/repository/ninjs/docs/search/GeneralT.html +0 -20
  115. data/repository/ninjs/docs/search/GeneralU.html +0 -20
  116. data/repository/ninjs/docs/search/GeneralV.html +0 -20
  117. data/repository/ninjs/docs/search/NoResults.html +0 -15
  118. data/repository/ninjs/docs/search/VariablesD.html +0 -20
  119. data/repository/ninjs/docs/search/VariablesN.html +0 -20
  120. data/repository/ninjs/docs/search/VariablesR.html +0 -20
  121. data/repository/ninjs/docs/search/VariablesT.html +0 -20
  122. data/repository/ninjs/docs/styles/main.css +0 -828
  123. data/repository/nullconsole.js +0 -7
  124. data/repository/qunit/assets/css/qunit.css +0 -196
  125. data/repository/qunit/qunit.js +0 -1374
  126. data/repository/selectivizr/1.0.js +0 -5
  127. data/repository/selectivizr/latest.js +0 -1
  128. data/repository/syntaxhighlighter/all.js +0 -11
  129. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCore.css +0 -226
  130. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDefault.css +0 -328
  131. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreDjango.css +0 -331
  132. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEclipse.css +0 -339
  133. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreEmacs.css +0 -324
  134. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreFadeToGrey.css +0 -328
  135. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMDUltra.css +0 -324
  136. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreMidnight.css +0 -324
  137. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shCoreRDark.css +0 -324
  138. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDefault.css +0 -117
  139. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeDjango.css +0 -120
  140. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEclipse.css +0 -128
  141. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeEmacs.css +0 -113
  142. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeFadeToGrey.css +0 -117
  143. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMDUltra.css +0 -113
  144. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeMidnight.css +0 -113
  145. data/repository/syntaxhighlighter/assets/css/syntaxhighlighter/shThemeRDark.css +0 -113
  146. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCore.scss +0 -216
  147. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDefault.scss +0 -2
  148. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreDjango.scss +0 -2
  149. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEclipse.scss +0 -2
  150. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreEmacs.scss +0 -2
  151. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreFadeToGrey.scss +0 -2
  152. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMDUltra.scss +0 -2
  153. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreMidnight.scss +0 -2
  154. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shCoreRDark.scss +0 -2
  155. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDefault.scss +0 -7
  156. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeDjango.scss +0 -36
  157. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEclipse.scss +0 -48
  158. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeEmacs.scss +0 -32
  159. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeFadeToGrey.scss +0 -36
  160. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMDUltra.scss +0 -32
  161. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeMidnight.scss +0 -32
  162. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_shThemeRDark.scss +0 -32
  163. data/repository/syntaxhighlighter/assets/scss/syntaxhighlighter/_theme_template.scss +0 -120
  164. data/repository/syntaxhighlighter/shAutoloader.js +0 -17
  165. data/repository/syntaxhighlighter/shBrushAS3.js +0 -59
  166. data/repository/syntaxhighlighter/shBrushAppleScript.js +0 -75
  167. data/repository/syntaxhighlighter/shBrushBash.js +0 -59
  168. data/repository/syntaxhighlighter/shBrushCSharp.js +0 -65
  169. data/repository/syntaxhighlighter/shBrushColdFusion.js +0 -100
  170. data/repository/syntaxhighlighter/shBrushCpp.js +0 -97
  171. data/repository/syntaxhighlighter/shBrushCss.js +0 -91
  172. data/repository/syntaxhighlighter/shBrushDelphi.js +0 -55
  173. data/repository/syntaxhighlighter/shBrushDiff.js +0 -41
  174. data/repository/syntaxhighlighter/shBrushErlang.js +0 -52
  175. data/repository/syntaxhighlighter/shBrushGroovy.js +0 -67
  176. data/repository/syntaxhighlighter/shBrushJScript.js +0 -52
  177. data/repository/syntaxhighlighter/shBrushJava.js +0 -57
  178. data/repository/syntaxhighlighter/shBrushJavaFX.js +0 -58
  179. data/repository/syntaxhighlighter/shBrushPerl.js +0 -72
  180. data/repository/syntaxhighlighter/shBrushPhp.js +0 -88
  181. data/repository/syntaxhighlighter/shBrushPlain.js +0 -33
  182. data/repository/syntaxhighlighter/shBrushPowerShell.js +0 -74
  183. data/repository/syntaxhighlighter/shBrushPython.js +0 -64
  184. data/repository/syntaxhighlighter/shBrushRuby.js +0 -55
  185. data/repository/syntaxhighlighter/shBrushSass.js +0 -94
  186. data/repository/syntaxhighlighter/shBrushScala.js +0 -51
  187. data/repository/syntaxhighlighter/shBrushSql.js +0 -66
  188. data/repository/syntaxhighlighter/shBrushVb.js +0 -56
  189. data/repository/syntaxhighlighter/shBrushXml.js +0 -69
  190. data/repository/syntaxhighlighter/shCore.js +0 -17
  191. data/repository/syntaxhighlighter/shLegacy.js +0 -17
@@ -1,5 +0,0 @@
1
- /*
2
- selectivizr v1.0.0 - (c) Keith Clark, freely distributable under the terms of the MIT license.
3
- selectivizr.com
4
- */
5
- (function(x){function K(a){return a.replace(L,o).replace(M,function(b,e,c){b=c.split(",");c=0;for(var g=b.length;c<g;c++){var j=N(b[c].replace(O,o).replace(P,o))+t,f=[];b[c]=j.replace(Q,function(d,k,l,i,h){if(k){if(f.length>0){d=f;var u;h=j.substring(0,h).replace(R,n);if(h==n||h.charAt(h.length-1)==t)h+="*";try{u=v(h)}catch(da){}if(u){h=0;for(l=u.length;h<l;h++){i=u[h];for(var y=i.className,z=0,S=d.length;z<S;z++){var q=d[z];if(!RegExp("(^|\\s)"+q.className+"(\\s|$)").test(i.className))if(q.b&&(q.b===true||q.b(i)===true))y=A(y,q.className,true)}i.className=y}}f=[]}return k}else{if(k=l?T(l):!B||B.test(i)?{className:C(i),b:true}:null){f.push(k);return"."+k.className}return d}})}return e+b.join(",")})}function T(a){var b=true,e=C(a.slice(1)),c=a.substring(0,5)==":not(",g,j;if(c)a=a.slice(5,-1);var f=a.indexOf("(");if(f>-1)a=a.substring(0,f);if(a.charAt(0)==":")switch(a.slice(1)){case "root":b=function(d){return c?d!=D:d==D};break;case "target":if(p==8){b=function(d){function k(){var l=location.hash,i=l.slice(1);return c?l==""||d.id!=i:l!=""&&d.id==i}x.attachEvent("onhashchange",function(){r(d,e,k())});return k()};break}return false;case "checked":b=function(d){U.test(d.type)&&d.attachEvent("onpropertychange",function(){event.propertyName=="checked"&&r(d,e,d.checked!==c)});return d.checked!==c};break;case "disabled":c=!c;case "enabled":b=function(d){if(V.test(d.tagName)){d.attachEvent("onpropertychange",function(){event.propertyName=="$disabled"&&r(d,e,d.a===c)});w.push(d);d.a=d.disabled;return d.disabled===c}return a==":enabled"?c:!c};break;case "focus":g="focus";j="blur";case "hover":if(!g){g="mouseenter";j="mouseleave"}b=function(d){d.attachEvent("on"+(c?j:g),function(){r(d,e,true)});d.attachEvent("on"+(c?g:j),function(){r(d,e,false)});return c};break;default:if(!W.test(a))return false;break}return{className:e,b:b}}function C(a){return E+"-"+(p==6&&X?Y++:a.replace(Z,function(b){return b.charCodeAt(0)}))}function N(a){return a.replace(F,o).replace($,t)}function r(a,b,e){var c=a.className;b=A(c,b,e);if(b!=c){a.className=b;a.parentNode.className+=n}}function A(a,b,e){var c=RegExp("(^|\\s)"+b+"(\\s|$)"),g=c.test(a);return e?g?a:a+t+b:g?a.replace(c,o).replace(F,o):a}function G(a,b){if(/^https?:\/\//i.test(a))return b.substring(0,b.indexOf("/",8))==a.substring(0,a.indexOf("/",8))?a:null;if(a.charAt(0)=="/")return b.substring(0,b.indexOf("/",8))+a;var e=b.split("?")[0];if(a.charAt(0)!="?"&&e.charAt(e.length-1)!="/")e=e.substring(0,e.lastIndexOf("/")+1);return e+a}function H(a){if(a){s.open("GET",a,false);s.send();return(s.status==200?s.responseText:n).replace(aa,n).replace(ba,function(b,e,c){return H(G(c,a))})}return n}function ca(){var a,b;a=m.getElementsByTagName("BASE");for(var e=a.length>0?a[0].href:m.location.href,c=0;c<m.styleSheets.length;c++){b=m.styleSheets[c];if(b.href!=n)if(a=G(b.href,e))b.cssText=K(H(a))}w.length>0&&setInterval(function(){for(var g=0,j=w.length;g<j;g++){var f=w[g];if(f.disabled!==f.a)if(f.disabled){f.disabled=false;f.a=true;f.disabled=true}else f.a=f.disabled}},250)}if(!/*@cc_on!@*/true){var m=document,D=m.documentElement,s=function(){if(x.XMLHttpRequest)return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(a){return null}}(),p=/MSIE ([\d])/.exec(navigator.userAgent)[1];if(!(m.compatMode!="CSS1Compat"||p<6||p>8||!s)){var I={NW:"*.Dom.select",DOMAssistant:"*.$",Prototype:"$$",YAHOO:"*.util.Selector.query",MooTools:"$$",Sizzle:"*",jQuery:"*",dojo:"*.query"},v,w=[],Y=0,X=true,E="slvzr",J=E+"DOMReady",aa=/(\/\*[^*]*\*+([^\/][^*]*\*+)*\/)\s*/g,ba=/@import\s*url\(\s*(["'])?(.*?)\1\s*\)[\w\W]*?;/g,W=/^:(empty|(first|last|only|nth(-last)?)-(child|of-type))$/,L=/:(:first-(?:line|letter))/g,M=/(^|})\s*([^\{]*?[\[:][^{]+)/g,Q=/([ +~>])|(:[a-z-]+(?:\(.*?\)+)?)|(\[.*?\])/g,R=/(:not\()?:(hover|enabled|disabled|focus|checked|target|active|visited|first-line|first-letter)\)?/g,Z=/[^\w-]/g,V=/^(INPUT|SELECT|TEXTAREA|BUTTON)$/,U=/^(checkbox|radio)$/,B=p==8?/[\$\^]=(['"])\1/:p==7?/[\$\^*]=(['"])\1/:null,O=/([(\[+~])\s+/g,P=/\s+([)\]+~])/g,$=/\s+/g,F=/^\s*((?:[\S\s]*\S)?)\s*$/,n="",t=" ",o="$1";m.write("<script id="+J+" defer src='//:'><\/script>");m.getElementById(J).onreadystatechange=function(){if(this.readyState=="complete"){a:{var a;for(var b in I)if(x[b]&&(a=eval(I[b].replace("*",b)))){v=a;break a}v=false}if(v){ca();this.parentNode.removeChild(this)}}}}}})(this);
@@ -1 +0,0 @@
1
- //= require "1.0"
@@ -1,11 +0,0 @@
1
- //= require "shCore"
2
- //= require "shBrushBash"
3
- //= require "shBrushCss"
4
- //= require "shBrushDiff"
5
- //= require "shBrushJScript"
6
- //= require "shBrushPhp"
7
- //= require "shBrushRuby"
8
- //= require "shBrushSass"
9
- //= require "shBrushSql"
10
- //= require "shBrushXml"
11
- //= provide "assets"
@@ -1,226 +0,0 @@
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
- }
@@ -1,328 +0,0 @@
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
- }