mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-10-30 18:34:09 +01:00 
			
		
		
		
	New release
This commit is contained in:
		| @@ -4,7 +4,7 @@ var fs = require('fs') | ||||
|   , chalk = require('chalk') | ||||
|   , error = chalk.bold.red | ||||
|   , cli = require('../lib/cli.js') | ||||
|   , lib = require('../lib') | ||||
|   , lib = require('../lib'); | ||||
|  | ||||
| cli.parse(process.argv.slice(2), function(err, message, options) { | ||||
|   if (err) { | ||||
| @@ -24,4 +24,4 @@ cli.parse(process.argv.slice(2), function(err, message, options) { | ||||
|   } | ||||
|  | ||||
|   lib.process(options.files, options, process.exit) | ||||
| }) | ||||
| }); | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								dist/www/fonts/slate.eot
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/www/fonts/slate.eot
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										14
									
								
								dist/www/fonts/slate.svg
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								dist/www/fonts/slate.svg
									
									
									
									
										vendored
									
									
								
							| @@ -1,14 +0,0 @@ | ||||
| <?xml version="1.0" standalone="no"?> | ||||
| <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > | ||||
| <svg xmlns="http://www.w3.org/2000/svg"> | ||||
| <metadata>Generated by IcoMoon</metadata> | ||||
| <defs> | ||||
| <font id="slate" horiz-adv-x="1024"> | ||||
| <font-face units-per-em="1024" ascent="960" descent="-64" /> | ||||
| <missing-glyph horiz-adv-x="1024" /> | ||||
| <glyph unicode=" " d="" horiz-adv-x="512" /> | ||||
| <glyph unicode="" d="M438.857 877.714q119.429 0 220.286-58.857t159.714-159.714 58.857-220.286-58.857-220.286-159.714-159.714-220.286-58.857-220.286 58.857-159.714 159.714-58.857 220.286 58.857 220.286 159.714 159.714 220.286 58.857zM512 165.143v108.571q0 8-5.143 13.429t-12.571 5.429h-109.714q-7.429 0-13.143-5.714t-5.714-13.143v-108.571q0-7.429 5.714-13.143t13.143-5.714h109.714q7.429 0 12.571 5.429t5.143 13.429zM510.857 361.714l10.286 354.857q0 6.857-5.714 10.286-5.714 4.571-13.714 4.571h-125.714q-8 0-13.714-4.571-5.714-3.429-5.714-10.286l9.714-354.857q0-5.714 5.714-10t13.714-4.286h105.714q8 0 13.429 4.286t6 10z" /> | ||||
| <glyph unicode="" d="M585.143 164.571v91.429q0 8-5.143 13.143t-13.143 5.143h-54.857v292.571q0 8-5.143 13.143t-13.143 5.143h-182.857q-8 0-13.143-5.143t-5.143-13.143v-91.429q0-8 5.143-13.143t13.143-5.143h54.857v-182.857h-54.857q-8 0-13.143-5.143t-5.143-13.143v-91.429q0-8 5.143-13.143t13.143-5.143h256q8 0 13.143 5.143t5.143 13.143zM512 676.571v91.429q0 8-5.143 13.143t-13.143 5.143h-109.714q-8 0-13.143-5.143t-5.143-13.143v-91.429q0-8 5.143-13.143t13.143-5.143h109.714q8 0 13.143 5.143t5.143 13.143zM877.714 438.857q0-119.429-58.857-220.286t-159.714-159.714-220.286-58.857-220.286 58.857-159.714 159.714-58.857 220.286 58.857 220.286 159.714 159.714 220.286 58.857 220.286-58.857 159.714-159.714 58.857-220.286z" /> | ||||
| <glyph unicode="" d="M733.714 531.428q0 16-10.286 26.286l-52 51.429q-10.857 10.857-25.714 10.857t-25.714-10.857l-233.143-232.571-129.143 129.143q-10.857 10.857-25.714 10.857t-25.714-10.857l-52-51.429q-10.286-10.286-10.286-26.286 0-15.429 10.286-25.714l206.857-206.857q10.857-10.857 25.714-10.857 15.429 0 26.286 10.857l310.286 310.286q10.286 10.286 10.286 25.714zM877.714 438.857q0-119.429-58.857-220.286t-159.714-159.714-220.286-58.857-220.286 58.857-159.714 159.714-58.857 220.286 58.857 220.286 159.714 159.714 220.286 58.857 220.286-58.857 159.714-159.714 58.857-220.286z" /> | ||||
| <glyph unicode="" d="M658.286 475.428q0 105.714-75.143 180.857t-180.857 75.143-180.857-75.143-75.143-180.857 75.143-180.857 180.857-75.143 180.857 75.143 75.143 180.857zM950.857 0q0-29.714-21.714-51.429t-51.429-21.714q-30.857 0-51.429 21.714l-196 195.429q-102.286-70.857-228-70.857-81.714 0-156.286 31.714t-128.571 85.714-85.714 128.571-31.714 156.286 31.714 156.286 85.714 128.571 128.571 85.714 156.286 31.714 156.286-31.714 128.571-85.714 85.714-128.571 31.714-156.286q0-125.714-70.857-228l196-196q21.143-21.143 21.143-51.429z" horiz-adv-x="951" /> | ||||
| </font></defs></svg> | ||||
| Before Width: | Height: | Size: 2.9 KiB | 
							
								
								
									
										
											BIN
										
									
								
								dist/www/fonts/slate.ttf
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/www/fonts/slate.ttf
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/www/fonts/slate.woff
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/www/fonts/slate.woff
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/www/fonts/slate.woff2
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/www/fonts/slate.woff2
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/www/images/header.png
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/www/images/header.png
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 69 KiB | 
							
								
								
									
										
											BIN
										
									
								
								dist/www/images/logo.png
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/www/images/logo.png
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 3.3 KiB | 
							
								
								
									
										
											BIN
										
									
								
								dist/www/images/navbar.png
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/www/images/navbar.png
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 96 B | 
							
								
								
									
										174
									
								
								dist/www/index.html
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										174
									
								
								dist/www/index.html
									
									
									
									
										vendored
									
									
								
							| @@ -1,174 +0,0 @@ | ||||
| <!doctype html> | ||||
| <html> | ||||
| <head> | ||||
|     <meta charset="utf-8"> | ||||
|     <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | ||||
|     <title>mermaid - Generation of diagrams and flowcharts from text in a similar manner as markdown.</title> | ||||
|     <link rel="stylesheet" href="fontawesome/css/font-awesome.min.css"> | ||||
|  | ||||
|     <link href="stylesheets/screen.css" rel="stylesheet" type="text/css" media="screen"/> | ||||
|     <link href="stylesheets/print.css" rel="stylesheet" type="text/css" media="print"/> | ||||
|     <link href="stylesheets/mermaid.forest.css" rel="stylesheet" type="text/css"/> | ||||
|     <link href="stylesheets/solarized_light.css" rel="stylesheet" type="text/css"/> | ||||
|     <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | ||||
|     <script src="javascripts/lib/mermaid.js"></script> | ||||
|     <script src="javascripts/all.js" type="text/javascript"></script> | ||||
|     <script src="javascripts/highlight.pack.js" type="text/javascript"></script> | ||||
|  | ||||
|     <script> | ||||
|         var g = function (hljs) { | ||||
|             var r = "[a-z'][a-zA-Z0-9_']*", c = "(" + r + ":" + r + "|" + r + ")"; | ||||
|             var keyw = { | ||||
|                 keyword: 'graph sequenceDiagram participant loop end', | ||||
|                 typename: 'Note', | ||||
|                 literal: "false true left right" | ||||
|             }; | ||||
|             return { | ||||
|                 case_insensitive: false, | ||||
|                 aliases: ["mermaid"], | ||||
|                 k: keyw, | ||||
|                 i: 'for', | ||||
|                 c: [{ | ||||
|                     cN: "function", | ||||
|                     b: "^" + r + "\\s*\\(", | ||||
|                     e: "->", | ||||
|                     rB: !0, | ||||
|                     i: "\\(|#|//|/\\*|\\\\|:|;", | ||||
|                     starts: { | ||||
|                         e: ";|\\.", k: keyw, c: [ | ||||
|                             {cN: "comment", b: "%", e: "$"} | ||||
|                         ] | ||||
|                     } | ||||
|                 }, | ||||
|                     {cN: "comment", b: "%", e: "$"} | ||||
|                 ] | ||||
|             }; | ||||
|         }; | ||||
|         hljs.registerLanguage('mermaid', g); | ||||
|         hljs.initHighlightingOnLoad(); | ||||
|         $(function () { | ||||
|             setupLanguages(["shell", "javascript", "html", "css","mermaid"]); | ||||
|         }); | ||||
|         var callback = function(){ | ||||
|             alert('A callback was triggered'); | ||||
|         } | ||||
|     </script> | ||||
| </head> | ||||
|  | ||||
| <body class="index"> | ||||
| <a href="#" id="nav-button"> | ||||
|       <span> | ||||
|         NAV | ||||
|         <img src="images/navbar.png"/> | ||||
|       </span> | ||||
| </a> | ||||
|  | ||||
| <div class="tocify-wrapper"> | ||||
|     <img src="images/logo.png"/> | ||||
|  | ||||
|     <div class="lang-selector" style="display:none"> | ||||
|         <a href="#" data-language-name="shell">shell</a> | ||||
|         <a href="#" data-language-name="javascript">javascript</a> | ||||
|         <a href="#" data-language-name="html">html</a> | ||||
|         <a href="#" data-language-name="css">css</a> | ||||
|     </div> | ||||
|     <div class="search"> | ||||
|         <input type="text" class="search" id="input-search" placeholder="Search"> | ||||
|     </div> | ||||
|     <ul class="search-results"></ul> | ||||
|     <div id="toc"> | ||||
|     </div> | ||||
|     <ul class="toc-footer"> | ||||
|         <div style="margin-left:5px;"> | ||||
|             <a href="https://github.com/knsv/mermaid" class="github-button" >Star</a> | ||||
|             <a href="https://github.com/knsv/mermaid" class="github-button">Fork</a> | ||||
|             <a href="https://github.com/knsv/mermaid/archive/master.zip" class="github-button">Download</a> | ||||
|         </div> | ||||
|         <script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script> | ||||
|         <li><a href='http://github.com/tripit/slate' style="color:grey">Documentation Powered by Slate</a></li> | ||||
|     </ul> | ||||
| </div> | ||||
| <div class="page-wrapper"> | ||||
|     <div class="dark-box"></div> | ||||
|     <div class="content"> | ||||
|         <h1 id="mermaid">mermaid</h1> | ||||
| <p><img src="images/header.png" alt="Alt text"></p> | ||||
| <blockquote> | ||||
| <p>Generation of diagrams and flowcharts from text in a similar manner as markdown.</p> | ||||
| </blockquote> | ||||
| <p>Ever wanted to simplify documentation and avoid heavy tools like Visio when explaining your code?</p> | ||||
| <p>This is why mermaid was born, a simple markdown-like script language for generating charts from text via javascript. <a href="http://knsv.github.io/mermaid/live_editor">Try it using our editor</a>.</p> | ||||
| <p>Code examples below:</p> | ||||
| <h3 id="an-example-of-a-flowchart">An example of a flowchart</h3> | ||||
| <pre class="css"><code>graph TD; | ||||
|     A-->B; | ||||
|     A-->C; | ||||
|     B-->D; | ||||
|     C-->D;</code></pre><h3 id="an-example-of-a-sequence-diagram">An example of a sequence diagram</h3> | ||||
| <pre class="css"><code>sequenceDiagram | ||||
|     participant Alice | ||||
|     participant Bob | ||||
|     Alice->John: Hello John, how are you? | ||||
|     loop Healthcheck | ||||
|         John->John: Fight against hypochondria | ||||
|     end | ||||
|     Note right of John: Rational thoughts <br/>prevail... | ||||
|     John-->Alice: Great! | ||||
|     John->Bob: How about you? | ||||
|     Bob-->John: Jolly good!</code></pre><h3 id="example-code-for-a-gantt-diagram">Example code for a gantt diagram</h3> | ||||
| <pre class="css"><code>gantt | ||||
|         dateFormat  YYYY-MM-DD | ||||
|         title Adding GANTT diagram functionality to mermaid | ||||
|         section A section | ||||
|         Completed task            :done,    des1, 2014-01-06,2014-01-08 | ||||
|         Active task               :active,  des2, 2014-01-09, 3d | ||||
|         Future task               :         des3, after des2, 5d | ||||
|         Future task2               :         des4, after des3, 5d | ||||
|         section Critical tasks | ||||
|         Completed task in the critical line :crit, done, 2014-01-06,24h | ||||
|         Implement parser and jison          :crit, done, after des1, 2d | ||||
|         Create tests for parser             :crit, active, 3d | ||||
|         Future task in critical line        :crit, 5d | ||||
|         Create tests for renderer           :2d | ||||
|         Add to mermaid                      :1d</code></pre><p>Play with mermaid using this <a href="http://danielmschmidt.github.io/mermaid-demo/">editor</a> or this <a href="live_editor">live editor</a>.</p> | ||||
| <h2 id="credits">Credits</h2> | ||||
| <p>Many thanks to the <a href="http://d3js.org/">d3</a> and <a href="https://github.com/cpettitt/dagre-d3">dagre-d3</a> projects for providing<br>the graphical layout and drawing libraries! Thanks also to the<br><a href="http://bramp.github.io/js-sequence-diagrams">js-sequence-diagram</a> project for usage of the grammar for the<br>sequence diagrams.</p> | ||||
| <p><em>Mermaid was created by Knut Sveidqvist for easier documentation.</em></p> | ||||
| <p>Knut has not done all work by himself, here is the full list of the projects <a href="https://github.com/knsv/mermaid/graphs/contributors">contributors</a>.</p> | ||||
| <h1 id="downstream-projects">Downstream projects</h1> | ||||
| <p>Mermaid is supported in a number of publishing systems and editors. Please report if a plugin/editor is missing from the list below:</p> | ||||
| <ul> | ||||
| <li>Support in LightPaper 1.2+. <a href="https://github.com/42Squares/LightPaper/blob/master/doc/Adding%20Mermaid%20Diagrams.md">Howto</a>. Discout with code MERMAID_25</li> | ||||
| <li><a href="https://github.com/JozoVilcek/gitbook-plugin-mermaid">gitbook-plugin</a></li> | ||||
| <li>light table</li> | ||||
| <li><a href="https://marketplace.atlassian.com/plugins/org.anvard.atlassian.mermaid-plugin/server/overview">Confluence plugin</a></li> | ||||
| <li><a href="http://nauvalatmaja.com/2015/01/13/rendering-mermaid-in-docpad/">Using mermaid via docpad</a></li> | ||||
| <li><a href="https://rubygems.org/gems/jekyll-mermaid/versions/1.0.0">Using mermaid in Jekyll</a></li> | ||||
| <li><a href="http://mostlyblather.com/blog/2015/05/23/mermaid-jekyll-octopress/">Using mermaid via Octopress</a></li> | ||||
| <li><a href="http://pad.haroopress.com/user.html">Mardown editor Haroopad</a></li> | ||||
| <li><a href="https://atom.io/packages/atom-mermaid">Plugin for atom</a></li> | ||||
| </ul> | ||||
| <h1 id="online-live-editor">Online live editor</h1> | ||||
| <p>An editor is available for creating diagrams. With it you can quickly start writing mermaid diagrams. It is possible to:</p> | ||||
| <ul> | ||||
| <li>save the result as a svg</li> | ||||
| <li>get a link to a viewer of the diagram </li> | ||||
| <li><p>get a link to edit of the diagram to share a diagram so that someone else can tweak it and send a new link back</p> | ||||
| </li> | ||||
| <li><p><a href="http://knsv.github.io/mermaid/live_editor">Editor</a></p> | ||||
| </li> | ||||
| </ul> | ||||
|  | ||||
|  | ||||
|     </div> | ||||
|     <div class="dark-box"> | ||||
|         <div class="lang-selector"> | ||||
|             <a href="#" data-language-name="shell">shell</a> | ||||
|             <a href="#" data-language-name="ruby">ruby</a> | ||||
|             <a href="#" data-language-name="python">python</a> | ||||
|         </div> | ||||
|     </div> | ||||
| </div> | ||||
| </body> | ||||
| </html> | ||||
							
								
								
									
										143
									
								
								dist/www/javascripts/all.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										143
									
								
								dist/www/javascripts/all.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										43
									
								
								dist/www/javascripts/all_nosearch.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										43
									
								
								dist/www/javascripts/all_nosearch.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								dist/www/javascripts/highlight.pack.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/www/javascripts/highlight.pack.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										57283
									
								
								dist/www/javascripts/lib/mermaid.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										57283
									
								
								dist/www/javascripts/lib/mermaid.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										243
									
								
								dist/www/stylesheets/mermaid.forest.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										243
									
								
								dist/www/stylesheets/mermaid.forest.css
									
									
									
									
										vendored
									
									
								
							| @@ -1,243 +0,0 @@ | ||||
| .mermaid .label | ||||
| { | ||||
| 	font-family: 'trebuchet ms', verdana, arial; | ||||
| 	color: #333333; | ||||
| } | ||||
|  | ||||
| .node rect,.node circle,.node polygon | ||||
| { | ||||
| 	fill: #cde498; | ||||
| 	stroke: #13540c; | ||||
| 	stroke-width: 1px; | ||||
| } | ||||
|  | ||||
| .edgePath .path | ||||
| { | ||||
| 	stroke: green; | ||||
| 	stroke-width: 1.5px; | ||||
| } | ||||
|  | ||||
| .cluster rect | ||||
| { | ||||
| 	fill: #cdffb2 !important; | ||||
| 	rx: 4 !important; | ||||
| 	stroke: #6eaa49 !important; | ||||
| 	stroke-width: 1px !important; | ||||
| } | ||||
|  | ||||
| .cluster text { fill: #333333; } | ||||
|  | ||||
| .actor | ||||
| { | ||||
| 	stroke: #13540c; | ||||
| 	fill: #cde498; | ||||
| } | ||||
|  | ||||
| text.actor | ||||
| { | ||||
| 	fill: black; | ||||
| 	stroke: none; | ||||
| } | ||||
|  | ||||
| .actor-line { stroke: grey; } | ||||
|  | ||||
| .messageLine0 | ||||
| { | ||||
| 	stroke-width: 1.5; | ||||
| 	stroke-dasharray: "2 2"; | ||||
| 	marker-end: "url(#arrowhead)"; | ||||
| 	stroke: #333333; | ||||
| } | ||||
|  | ||||
| .messageLine1 | ||||
| { | ||||
| 	stroke-width: 1.5; | ||||
| 	stroke-dasharray: "2 2"; | ||||
| 	stroke: #333333; | ||||
| } | ||||
|  | ||||
| #arrowhead { fill: #333333; } | ||||
|  | ||||
| #crosshead path | ||||
| { | ||||
| 	fill: #333333 !important; | ||||
| 	stroke: #333333 !important; | ||||
| } | ||||
|  | ||||
| .messageText | ||||
| { | ||||
| 	fill: #333333; | ||||
| 	stroke: none; | ||||
| } | ||||
|  | ||||
| .labelBox | ||||
| { | ||||
| 	stroke: #326932; | ||||
| 	fill: #cde498; | ||||
| } | ||||
|  | ||||
| .labelText | ||||
| { | ||||
| 	fill: black; | ||||
| 	stroke: none; | ||||
| } | ||||
|  | ||||
| .loopText | ||||
| { | ||||
| 	fill: black; | ||||
| 	stroke: none; | ||||
| } | ||||
|  | ||||
| .loopLine | ||||
| { | ||||
| 	stroke-width: 2; | ||||
| 	stroke-dasharray: "2 2"; | ||||
| 	marker-end: "url(#arrowhead)"; | ||||
| 	stroke: #326932; | ||||
| } | ||||
|  | ||||
| .note | ||||
| { | ||||
| 	stroke: #6eaa49; | ||||
| 	fill: #fff5ad; | ||||
| } | ||||
|  | ||||
| .noteText | ||||
| { | ||||
| 	fill: black; | ||||
| 	stroke: none; | ||||
| 	font-family: 'trebuchet ms', verdana, arial; | ||||
| 	font-size: 14px; | ||||
| } | ||||
|  | ||||
| .section | ||||
| { | ||||
| 	stroke: none; | ||||
| 	opacity: 0.2; | ||||
| } | ||||
|  | ||||
| .section0 { fill: #6eaa49; } | ||||
| .section2 { fill: #6eaa49; } | ||||
|  | ||||
| .section1,.section3 | ||||
| { | ||||
| 	fill: white; | ||||
| 	opacity: 0.2; | ||||
| } | ||||
|  | ||||
| .sectionTitle0 { fill: #333333; } | ||||
| .sectionTitle1 { fill: #333333; } | ||||
| .sectionTitle2 { fill: #333333; } | ||||
| .sectionTitle3 { fill: #333333; } | ||||
|  | ||||
| .sectionTitle | ||||
| { | ||||
| 	text-anchor: start; | ||||
| 	font-size: 11px; | ||||
| 	text-height: 14px; | ||||
| } | ||||
|  | ||||
| .grid .tick | ||||
| { | ||||
| 	stroke: lightgrey; | ||||
| 	opacity: 0.3; | ||||
| 	shape-rendering: crispEdges; | ||||
| } | ||||
|  | ||||
| .grid path { stroke-width: 0; } | ||||
|  | ||||
| .today | ||||
| { | ||||
| 	fill: none; | ||||
| 	stroke: red; | ||||
| 	stroke-width: 2px; | ||||
| } | ||||
|  | ||||
| .task { stroke-width: 2; } | ||||
|  | ||||
| .taskText | ||||
| { | ||||
| 	text-anchor: middle; | ||||
| 	font-size: 11px; | ||||
| } | ||||
|  | ||||
| .taskTextOutsideRight | ||||
| { | ||||
| 	fill: black; | ||||
| 	text-anchor: start; | ||||
| 	font-size: 11px; | ||||
| } | ||||
|  | ||||
| .taskTextOutsideLeft | ||||
| { | ||||
| 	fill: black; | ||||
| 	text-anchor: end; | ||||
| 	font-size: 11px; | ||||
| } | ||||
|  | ||||
| .taskText0,.taskText1,.taskText2,.taskText3 { fill: white; } | ||||
|  | ||||
| .task0,.task1,.task2,.task3 | ||||
| { | ||||
| 	fill: #487e3a; | ||||
| 	stroke: #13540c; | ||||
| } | ||||
|  | ||||
| .taskTextOutside0,.taskTextOutside2 { fill: black; } | ||||
| .taskTextOutside1,.taskTextOutside3 { fill: black; } | ||||
|  | ||||
| .active0,.active1,.active2,.active3 | ||||
| { | ||||
| 	fill: #cde498; | ||||
| 	stroke: #13540c; | ||||
| } | ||||
|  | ||||
| .activeText0,.activeText1,.activeText2,.activeText3 { fill: black !important; } | ||||
|  | ||||
| .done0,.done1,.done2,.done3 | ||||
| { | ||||
| 	stroke: grey; | ||||
| 	fill: lightgrey; | ||||
| 	stroke-width: 2; | ||||
| } | ||||
|  | ||||
| .doneText0,.doneText1,.doneText2,.doneText3 { fill: black !important; } | ||||
|  | ||||
| .crit0,.crit1,.crit2,.crit3 | ||||
| { | ||||
| 	stroke: #ff8888; | ||||
| 	fill: red; | ||||
| 	stroke-width: 2; | ||||
| } | ||||
|  | ||||
| .activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3 | ||||
| { | ||||
| 	stroke: #ff8888; | ||||
| 	fill: #cde498; | ||||
| 	stroke-width: 2; | ||||
| } | ||||
|  | ||||
| .doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3 | ||||
| { | ||||
| 	stroke: #ff8888; | ||||
| 	fill: lightgrey; | ||||
| 	stroke-width: 2; | ||||
| 	cursor: pointer; | ||||
| 	shape-rendering: crispEdges; | ||||
| } | ||||
|  | ||||
| .doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3 { fill: black !important; } | ||||
| .activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3 { fill: black !important; } | ||||
|  | ||||
| .titleText | ||||
| { | ||||
| 	text-anchor: middle; | ||||
| 	font-size: 18px; | ||||
| 	fill: black; | ||||
| } | ||||
|  | ||||
| text | ||||
| { | ||||
| 	font-family: 'trebuchet ms', verdana, arial; | ||||
| 	font-size: 14px; | ||||
| } | ||||
							
								
								
									
										69
									
								
								dist/www/stylesheets/mono-blue.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										69
									
								
								dist/www/stylesheets/mono-blue.css
									
									
									
									
										vendored
									
									
								
							| @@ -1,69 +0,0 @@ | ||||
| /* | ||||
|   Five-color theme from a single blue hue. | ||||
| */ | ||||
| .hljs { | ||||
|   display: block; | ||||
|   overflow-x: auto; | ||||
|   padding: 0.5em; | ||||
|   background: #eaeef3; | ||||
|   -webkit-text-size-adjust: none; | ||||
| } | ||||
|  | ||||
| .hljs, | ||||
| .hljs-list .hljs-built_in { | ||||
|   color: #00193a; | ||||
| } | ||||
|  | ||||
| .hljs-keyword, | ||||
| .hljs-title, | ||||
| .hljs-important, | ||||
| .hljs-request, | ||||
| .hljs-header, | ||||
| .hljs-javadoctag { | ||||
|   font-weight: bold; | ||||
| } | ||||
|  | ||||
| .hljs-comment, | ||||
| .hljs-chunk { | ||||
|   color: #738191; | ||||
| } | ||||
|  | ||||
| .hljs-string, | ||||
| .hljs-title, | ||||
| .hljs-parent, | ||||
| .hljs-built_in, | ||||
| .hljs-literal, | ||||
| .hljs-filename, | ||||
| .hljs-value, | ||||
| .hljs-addition, | ||||
| .hljs-tag, | ||||
| .hljs-argument, | ||||
| .hljs-link_label, | ||||
| .hljs-blockquote, | ||||
| .hljs-header { | ||||
|   color: #0048ab; | ||||
| } | ||||
|  | ||||
| .hljs-decorator, | ||||
| .hljs-prompt, | ||||
| .hljs-yardoctag, | ||||
| .hljs-subst, | ||||
| .hljs-symbol, | ||||
| .hljs-doctype, | ||||
| .hljs-regexp, | ||||
| .hljs-preprocessor, | ||||
| .hljs-pragma, | ||||
| .hljs-pi, | ||||
| .hljs-attribute, | ||||
| .hljs-attr_selector, | ||||
| .hljs-javadoc, | ||||
| .hljs-xmlDocTag, | ||||
| .hljs-deletion, | ||||
| .hljs-shebang, | ||||
| .hljs-string .hljs-variable, | ||||
| .hljs-link_url, | ||||
| .hljs-bullet, | ||||
| .hljs-sqbracket, | ||||
| .hljs-phony { | ||||
|   color: #4c81c9; | ||||
| } | ||||
							
								
								
									
										1
									
								
								dist/www/stylesheets/print.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/www/stylesheets/print.css
									
									
									
									
										vendored
									
									
								
							| @@ -1 +0,0 @@ | ||||
| /*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:0.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace, monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.content h1,.content h2,.content h3,.content h4,body{font-family:"Helvetica Neue", Helvetica, Arial, "Microsoft Yahei","微软雅黑", STXihei, "华文细黑", sans-serif;font-size:13px}.content h1,.content h2,.content h3,.content h4{font-weight:bold}.content pre,.content code{font-family:Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif;font-size:12px;line-height:1.5}.content pre,.content code{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}@font-face{font-family:'slate';src:url("../fonts/slate.eot?-syv14m");src:url("../fonts/slate.eot?#iefix-syv14m") format("embedded-opentype"),url("../fonts/slate.woff2?-syv14m") format("woff2"),url("../fonts/slate.woff?-syv14m") format("woff"),url("../fonts/slate.ttf?-syv14m") format("truetype"),url("../fonts/slate.svg?-syv14m#slate") format("svg");font-weight:normal;font-style:normal}.content aside.warning:before,.content aside.notice:before,.content aside.success:before{font-family:'slate';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1}.content aside.warning:before{content:"\e600"}.content aside.notice:before{content:"\e602"}.content aside.success:before{content:"\e606"}.tocify,.toc-footer,.lang-selector,.search,#nav-button{display:none}.tocify-wrapper>img{margin:0 auto;display:block}.content{font-size:12px}.content pre,.content code{border:1px solid #999;border-radius:5px;font-size:0.8em}.content pre{padding:1.3em}.content code{padding:0.2em}.content table{border:1px solid #999}.content table tr{border-bottom:1px solid #999}.content table td,.content table th{padding:0.7em}.content p{line-height:1.5}.content a{text-decoration:none;color:#000}.content h1{font-size:2.5em;padding-top:0.5em;padding-bottom:0.5em;margin-top:1em;margin-bottom:21px;border:2px solid #ccc;border-width:2px 0;text-align:center}.content h2{font-size:1.8em;margin-top:2em;border-top:2px solid #ccc;padding-top:0.8em}.content h1+h2,.content h1+div+h2{border-top:none;padding-top:0;margin-top:0}.content h3,.content h4{font-size:0.8em;margin-top:1.5em;margin-bottom:0.8em;text-transform:uppercase}.content h5,.content h6{text-transform:uppercase}.content aside{padding:1em;border:1px solid #ccc;border-radius:5px;margin-top:1.5em;margin-bottom:1.5em;line-height:1.6}.content aside:before{vertical-align:middle;padding-right:0.5em;font-size:14px} | ||||
							
								
								
									
										914
									
								
								dist/www/stylesheets/screen.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										914
									
								
								dist/www/stylesheets/screen.css
									
									
									
									
										vendored
									
									
								
							| @@ -1,914 +0,0 @@ | ||||
| /*! normalize.css v3.0.2 | MIT License | git.io/normalize */ | ||||
| html { | ||||
|     font-family: sans-serif; | ||||
|     -ms-text-size-adjust: 100%; | ||||
|     -webkit-text-size-adjust: 100% | ||||
| } | ||||
|  | ||||
| body { | ||||
|     margin: 0 | ||||
| } | ||||
|  | ||||
| article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { | ||||
|     display: block | ||||
| } | ||||
|  | ||||
| audio, canvas, progress, video { | ||||
|     display: inline-block; | ||||
|     vertical-align: baseline | ||||
| } | ||||
|  | ||||
| audio:not([controls]) { | ||||
|     display: none; | ||||
|     height: 0 | ||||
| } | ||||
|  | ||||
| [hidden], template { | ||||
|     display: none | ||||
| } | ||||
|  | ||||
| a { | ||||
|     background-color: transparent | ||||
| } | ||||
|  | ||||
| a:active, a:hover { | ||||
|     outline: 0 | ||||
| } | ||||
|  | ||||
| abbr[title] { | ||||
|     border-bottom: 1px dotted | ||||
| } | ||||
|  | ||||
| b, strong { | ||||
|     font-weight: bold | ||||
| } | ||||
|  | ||||
| dfn { | ||||
|     font-style: italic | ||||
| } | ||||
|  | ||||
| h1 { | ||||
|     font-size: 2em; | ||||
|     margin: 0.67em 0 | ||||
| } | ||||
|  | ||||
| mark { | ||||
|     background: #ff0; | ||||
|     color: #000 | ||||
| } | ||||
|  | ||||
| small { | ||||
|     font-size: 80% | ||||
| } | ||||
|  | ||||
| sub, sup { | ||||
|     font-size: 75%; | ||||
|     line-height: 0; | ||||
|     position: relative; | ||||
|     vertical-align: baseline | ||||
| } | ||||
|  | ||||
| sup { | ||||
|     top: -0.5em | ||||
| } | ||||
|  | ||||
| sub { | ||||
|     bottom: -0.25em | ||||
| } | ||||
|  | ||||
| img { | ||||
|     border: 0 | ||||
| } | ||||
|  | ||||
| svg:not(:root) { | ||||
|     overflow: hidden | ||||
| } | ||||
|  | ||||
| figure { | ||||
|     margin: 1em 40px | ||||
| } | ||||
|  | ||||
| hr { | ||||
|     box-sizing: content-box; | ||||
|     height: 0 | ||||
| } | ||||
|  | ||||
| pre { | ||||
|     overflow: auto | ||||
| } | ||||
|  | ||||
| code, kbd, pre, samp { | ||||
|     font-family: monospace, monospace; | ||||
|     font-size: 1em | ||||
| } | ||||
|  | ||||
| button, input, optgroup, select, textarea { | ||||
|     color: inherit; | ||||
|     font: inherit; | ||||
|     margin: 0 | ||||
| } | ||||
|  | ||||
| button { | ||||
|     overflow: visible | ||||
| } | ||||
|  | ||||
| button, select { | ||||
|     text-transform: none | ||||
| } | ||||
|  | ||||
| button, html input[type="button"], input[type="reset"], input[type="submit"] { | ||||
|     -webkit-appearance: button; | ||||
|     cursor: pointer | ||||
| } | ||||
|  | ||||
| button[disabled], html input[disabled] { | ||||
|     cursor: default | ||||
| } | ||||
|  | ||||
| button::-moz-focus-inner, input::-moz-focus-inner { | ||||
|     border: 0; | ||||
|     padding: 0 | ||||
| } | ||||
|  | ||||
| input { | ||||
|     line-height: normal | ||||
| } | ||||
|  | ||||
| input[type="checkbox"], input[type="radio"] { | ||||
|     box-sizing: border-box; | ||||
|     padding: 0 | ||||
| } | ||||
|  | ||||
| input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { | ||||
|     height: auto | ||||
| } | ||||
|  | ||||
| input[type="search"] { | ||||
|     -webkit-appearance: textfield; | ||||
|     box-sizing: content-box | ||||
| } | ||||
|  | ||||
| input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { | ||||
|     -webkit-appearance: none | ||||
| } | ||||
|  | ||||
| fieldset { | ||||
|     border: 1px solid #c0c0c0; | ||||
|     margin: 0 2px; | ||||
|     padding: 0.35em 0.625em 0.75em | ||||
| } | ||||
|  | ||||
| legend { | ||||
|     border: 0; | ||||
|     padding: 0 | ||||
| } | ||||
|  | ||||
| textarea { | ||||
|     overflow: auto | ||||
| } | ||||
|  | ||||
| optgroup { | ||||
|     font-weight: bold | ||||
| } | ||||
|  | ||||
| table { | ||||
|     border-collapse: collapse; | ||||
|     border-spacing: 0 | ||||
| } | ||||
|  | ||||
| td, th { | ||||
|     padding: 0 | ||||
| } | ||||
|  | ||||
| .content h1, .content h2, .content h3, .content h4, .content h5, .content h6, html, body { | ||||
|     font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei", "微软雅黑", STXihei, "华文细黑", sans-serif; | ||||
|     font-size: 13px | ||||
| } | ||||
|  | ||||
| .content h1, .content h2, .content h3, .content h4, .content h5, .content h6 { | ||||
|     font-weight: bold | ||||
| } | ||||
|  | ||||
| .content code, .content pre { | ||||
|     font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif; | ||||
|     font-size: 12px; | ||||
|     line-height: 1.5 | ||||
|  | ||||
|  | ||||
| } | ||||
|  | ||||
| .content code { | ||||
|     word-break: break-all; | ||||
|     word-break: break-word; | ||||
|     -webkit-hyphens: auto; | ||||
|     -moz-hyphens: auto; | ||||
|     -ms-hyphens: auto; | ||||
|     hyphens: auto | ||||
|  | ||||
| } | ||||
|  | ||||
| .highlight table td { | ||||
|     padding: 5px | ||||
| } | ||||
|  | ||||
| .highlight table pre { | ||||
|     margin: 0 | ||||
| } | ||||
|  | ||||
| .highlight, .highlight .w { | ||||
|     color: #f8f8f2; | ||||
|     background-color: #272822 | ||||
| } | ||||
|  | ||||
| .highlight .err { | ||||
|     color: #151515; | ||||
|     background-color: #ac4142 | ||||
| } | ||||
|  | ||||
| .highlight .c, .highlight .cd, .highlight .cm, .highlight .c1, .highlight .cs { | ||||
|     color: #505050 | ||||
| } | ||||
|  | ||||
| .highlight .cp { | ||||
|     color: #f4bf75 | ||||
| } | ||||
|  | ||||
| .highlight .nt { | ||||
|     color: #f4bf75 | ||||
| } | ||||
|  | ||||
| .highlight .o, .highlight .ow { | ||||
|     color: #d0d0d0 | ||||
| } | ||||
|  | ||||
| .highlight .p, .highlight .pi { | ||||
|     color: #d0d0d0 | ||||
| } | ||||
|  | ||||
| .highlight .gi { | ||||
|     color: #90a959 | ||||
| } | ||||
|  | ||||
| .highlight .gd { | ||||
|     color: #ac4142 | ||||
| } | ||||
|  | ||||
| .highlight .gh { | ||||
|     color: #6a9fb5; | ||||
|     background-color: #151515; | ||||
|     font-weight: bold | ||||
| } | ||||
|  | ||||
| .highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv { | ||||
|     color: #aa759f | ||||
| } | ||||
|  | ||||
| .highlight .kc { | ||||
|     color: #d28445 | ||||
| } | ||||
|  | ||||
| .highlight .kt { | ||||
|     color: #d28445 | ||||
| } | ||||
|  | ||||
| .highlight .kd { | ||||
|     color: #d28445 | ||||
| } | ||||
|  | ||||
| .highlight .s, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 { | ||||
|     color: #90a959 | ||||
| } | ||||
|  | ||||
| .highlight .sr { | ||||
|     color: #75b5aa | ||||
| } | ||||
|  | ||||
| .highlight .si { | ||||
|     color: #8f5536 | ||||
| } | ||||
|  | ||||
| .highlight .se { | ||||
|     color: #8f5536 | ||||
| } | ||||
|  | ||||
| .highlight .nn { | ||||
|     color: #f4bf75 | ||||
| } | ||||
|  | ||||
| .highlight .nc { | ||||
|     color: #f4bf75 | ||||
| } | ||||
|  | ||||
| .highlight .no { | ||||
|     color: #f4bf75 | ||||
| } | ||||
|  | ||||
| .highlight .na { | ||||
|     color: #6a9fb5 | ||||
| } | ||||
|  | ||||
| .highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mb, .highlight .mx { | ||||
|     color: #90a959 | ||||
| } | ||||
|  | ||||
| .highlight .ss { | ||||
|     color: #90a959 | ||||
| } | ||||
|  | ||||
| .highlight .c, .highlight .cm, .highlight .c1, .highlight .cs { | ||||
|     color: #909090 | ||||
| } | ||||
|  | ||||
| .highlight, .highlight .w { | ||||
|     background-color: #292929 | ||||
| } | ||||
|  | ||||
| @font-face { | ||||
|     font-family: 'slate'; | ||||
|     src: url("../fonts/slate.eot?-syv14m"); | ||||
|     src: url("../fonts/slate.eot?#iefix-syv14m") format("embedded-opentype"), url("../fonts/slate.woff2?-syv14m") format("woff2"), url("../fonts/slate.woff?-syv14m") format("woff"), url("../fonts/slate.ttf?-syv14m") format("truetype"), url("../fonts/slate.svg?-syv14m#slate") format("svg"); | ||||
|     font-weight: normal; | ||||
|     font-style: normal | ||||
| } | ||||
|  | ||||
| .content aside.warning:before, .content aside.notice:before, .content aside.success:before, .tocify-wrapper > .search:before { | ||||
|     font-family: 'slate'; | ||||
|     speak: none; | ||||
|     font-style: normal; | ||||
|     font-weight: normal; | ||||
|     font-variant: normal; | ||||
|     text-transform: none; | ||||
|     line-height: 1 | ||||
| } | ||||
|  | ||||
| .content aside.warning:before { | ||||
|     content: "\e600" | ||||
| } | ||||
|  | ||||
| .content aside.notice:before { | ||||
|     content: "\e602" | ||||
| } | ||||
|  | ||||
| .content aside.success:before { | ||||
|     content: "\e606" | ||||
| } | ||||
|  | ||||
| .tocify-wrapper > .search:before { | ||||
|     content: "\e607" | ||||
| } | ||||
|  | ||||
| html, body { | ||||
|     color: #333; | ||||
|     padding: 0; | ||||
|     margin: 0; | ||||
|     -webkit-font-smoothing: antialiased; | ||||
|     -moz-osx-font-smoothing: grayscale; | ||||
|     background-color: #ffffff; | ||||
|     height: 100%; | ||||
|     -webkit-text-size-adjust: none | ||||
| } | ||||
|  | ||||
| #toc > ul > li > a > span { | ||||
|     float: right; | ||||
|     background-color: #2484FF; | ||||
|     border-radius: 40px; | ||||
|     width: 20px | ||||
| } | ||||
|  | ||||
| .tocify-wrapper { | ||||
|     transition: left 0.3s ease-in-out; | ||||
|     overflow-y: auto; | ||||
|     overflow-x: hidden; | ||||
|     position: fixed; | ||||
|     z-index: 30; | ||||
|     top: 0; | ||||
|     left: 0; | ||||
|     bottom: 0; | ||||
|     width: 230px; | ||||
|     background-color: #FEFFE0; | ||||
|     border-right: 2px solid #EFEFEF; | ||||
|     font-size: 13px; | ||||
|     font-weight: bold | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .lang-selector { | ||||
|     display: none | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .lang-selector a { | ||||
|     padding-top: 0.5em; | ||||
|     padding-bottom: 0.5em | ||||
| } | ||||
|  | ||||
| .tocify-wrapper > img { | ||||
|     display: block | ||||
| } | ||||
|  | ||||
| .tocify-wrapper > .search { | ||||
|     position: relative | ||||
| } | ||||
|  | ||||
| .tocify-wrapper > .search input { | ||||
|     background: #e7e7e7; | ||||
|     border-width: 0 0 1px 0; | ||||
|     border-color: #666; | ||||
|     padding: 6px 0 6px 20px; | ||||
|     box-sizing: border-box; | ||||
|     margin: 10px 15px; | ||||
|     width: 200px; | ||||
|     outline: none; | ||||
|     color: #000; | ||||
|     border-radius: 0 | ||||
| } | ||||
|  | ||||
| .tocify-wrapper > .search:before { | ||||
|     position: absolute; | ||||
|     top: 17px; | ||||
|     left: 15px; | ||||
|     color: #444 | ||||
| } | ||||
|  | ||||
| .tocify-wrapper img + .tocify { | ||||
|     margin-top: 20px | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .search-results { | ||||
|     margin-top: 0; | ||||
|     box-sizing: border-box; | ||||
|     height: 0; | ||||
|     overflow-y: auto; | ||||
|     overflow-x: hidden; | ||||
|     transition-property: height, margin; | ||||
|     transition-duration: 180ms; | ||||
|     transition-timing-function: ease-in-out; | ||||
|     background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent 8px), linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent 8px), linear-gradient(to bottom, #000, transparent 1.5px), linear-gradient(to top, #939393, rgba(147, 147, 147, 0) 1.5px), #FEFFE0 | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .search-results.visible { | ||||
|     height: 30%; | ||||
|     margin-bottom: 1em | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .search-results li { | ||||
|     margin: 1em 15px; | ||||
|     line-height: 1 | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .search-results a { | ||||
|     color: #000; | ||||
|     text-decoration: none | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .search-results a:hover { | ||||
|     text-decoration: underline | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .tocify-item > a, .tocify-wrapper .toc-footer li { | ||||
|     padding: 0 15px 0 15px; | ||||
|     display: block; | ||||
|     overflow-x: hidden; | ||||
|     white-space: nowrap; | ||||
|     text-overflow: ellipsis | ||||
| } | ||||
|  | ||||
| .tocify-wrapper ul, .tocify-wrapper li { | ||||
|     list-style: none; | ||||
|     margin: 0; | ||||
|     padding: 0; | ||||
|     line-height: 28px | ||||
| } | ||||
|  | ||||
| .tocify-wrapper li { | ||||
|     color: #383838; | ||||
|     transition-property: background; | ||||
|     transition-timing-function: linear; | ||||
|     transition-duration: 230ms | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .tocify-focus { | ||||
|     box-shadow: 0px 1px 0px #000; | ||||
|     background-color: #2467af; | ||||
|     color: #fff | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .tocify-subheader { | ||||
|     display: none; | ||||
|     background-color: #FFFFF7; | ||||
|     font-weight: 500; | ||||
|     background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent 8px), linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent 8px), linear-gradient(to bottom, #000, transparent 1.5px), linear-gradient(to top, #939393, rgba(147, 147, 147, 0) 1.5px), #FEFFE0 | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .tocify-subheader .tocify-item > a { | ||||
|     padding-left: 25px; | ||||
|     font-size: 12px | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .tocify-subheader > li:last-child { | ||||
|     box-shadow: none | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .toc-footer { | ||||
|     padding: 1em 0; | ||||
|     margin-top: 1em; | ||||
|     border-top: 1px dashed #666 | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .toc-footer li, .tocify-wrapper .toc-footer a { | ||||
|     color: #fff; | ||||
|     text-decoration: none | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .toc-footer a:hover { | ||||
|     text-decoration: underline | ||||
| } | ||||
|  | ||||
| .tocify-wrapper .toc-footer li { | ||||
|     font-size: 0.8em; | ||||
|     line-height: 1.7; | ||||
|     text-decoration: none | ||||
| } | ||||
|  | ||||
| #nav-button { | ||||
|     padding: 0 1.5em 5em 0; | ||||
|     display: none; | ||||
|     position: fixed; | ||||
|     top: 0; | ||||
|     left: 0; | ||||
|     z-index: 100; | ||||
|     color: #000; | ||||
|     text-decoration: none; | ||||
|     font-weight: bold; | ||||
|     opacity: 0.7; | ||||
|     line-height: 16px; | ||||
|     transition: left 0.3s ease-in-out | ||||
| } | ||||
|  | ||||
| #nav-button span { | ||||
|     display: block; | ||||
|     padding: 6px 6px 6px; | ||||
|     background-color: rgba(234, 242, 246, 0.7); | ||||
|     -webkit-transform-origin: 0 0; | ||||
|     transform-origin: 0 0; | ||||
|     -webkit-transform: rotate(-90deg) translate(-100%, 0); | ||||
|     transform: rotate(-90deg) translate(-100%, 0); | ||||
|     border-radius: 0 0 0 5px | ||||
| } | ||||
|  | ||||
| #nav-button img { | ||||
|     height: 16px; | ||||
|     vertical-align: bottom | ||||
| } | ||||
|  | ||||
| #nav-button:hover { | ||||
|     opacity: 1 | ||||
| } | ||||
|  | ||||
| #nav-button.open { | ||||
|     left: 230px | ||||
| } | ||||
|  | ||||
| .page-wrapper { | ||||
|     margin-left: 230px; | ||||
|     position: relative; | ||||
|     z-index: 10; | ||||
|     background-color: #eaf2f6; | ||||
|     min-height: 100%; | ||||
|     padding-bottom: 1px | ||||
| } | ||||
|  | ||||
| .page-wrapper .dark-box { | ||||
|     width: 50%; | ||||
|     background-color: #393939; | ||||
|     position: absolute; | ||||
|     right: 0; | ||||
|     top: 0; | ||||
|     bottom: 0 | ||||
| } | ||||
|  | ||||
| .page-wrapper .lang-selector { | ||||
|     position: fixed; | ||||
|     z-index: 50; | ||||
|     border-bottom: 5px solid #393939 | ||||
| } | ||||
|  | ||||
| .lang-selector { | ||||
|     background-color: #222; | ||||
|     width: 100%; | ||||
|     font-weight: bold | ||||
| } | ||||
|  | ||||
| .lang-selector a { | ||||
|     display: block; | ||||
|     float: left; | ||||
|     color: #fff; | ||||
|     text-decoration: none; | ||||
|     padding: 0 10px; | ||||
|     line-height: 30px; | ||||
|     outline: 0 | ||||
| } | ||||
|  | ||||
| .lang-selector a:active, .lang-selector a:focus { | ||||
|     background-color: #111; | ||||
|     color: #fff | ||||
| } | ||||
|  | ||||
| .lang-selector a.active { | ||||
|     background-color: #393939; | ||||
|     color: #fff | ||||
| } | ||||
|  | ||||
| .lang-selector:after { | ||||
|     content: ''; | ||||
|     clear: both; | ||||
|     display: block | ||||
| } | ||||
|  | ||||
| .content { | ||||
|     position: relative; | ||||
|     z-index: 30 | ||||
| } | ||||
|  | ||||
| .content:after { | ||||
|     content: ''; | ||||
|     display: block; | ||||
|     clear: both | ||||
| } | ||||
|  | ||||
| .content > h1, .content > h2, .content > h3, .content > h4, .content > h5, .content > h6, .content > p, .content > table, .content > ul, .content > ol, .content > aside, .content > dl { | ||||
|     margin-right: 50%; | ||||
|     padding: 0 28px; | ||||
|     box-sizing: border-box; | ||||
|     display: block; | ||||
|     text-shadow: 0px 1px 0px #fff | ||||
| } | ||||
|  | ||||
| .content > ul, .content > ol { | ||||
|     padding-left: 43px | ||||
| } | ||||
|  | ||||
| .content > h1, .content > h2, .content > div { | ||||
|     clear: both | ||||
| } | ||||
|  | ||||
| .content h1 { | ||||
|     font-size: 30px; | ||||
|     padding-top: 0.5em; | ||||
|     padding-bottom: 0.5em; | ||||
|     border-bottom: 1px solid #ccc; | ||||
|     margin-bottom: 21px; | ||||
|     margin-top: 2em; | ||||
|     border-top: 1px solid #ddd; | ||||
|     background-image: linear-gradient(to bottom, #fff, #f9f9f9) | ||||
| } | ||||
|  | ||||
| .content h1:first-child, .content div:first-child + h1 { | ||||
|     border-top-width: 0; | ||||
|     margin-top: 0 | ||||
| } | ||||
|  | ||||
| .content h2 { | ||||
|     font-size: 20px; | ||||
|     margin-top: 4em; | ||||
|     margin-bottom: 0; | ||||
|     border-top: 1px solid #ccc; | ||||
|     padding-top: 1.2em; | ||||
|     padding-bottom: 1.2em; | ||||
|     background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)) | ||||
| } | ||||
|  | ||||
| .content h1 + h2, .content h1 + div + h2 { | ||||
|     margin-top: -21px; | ||||
|     border-top: none | ||||
| } | ||||
|  | ||||
| .content h3, .content h4, .content h5, .content h6 { | ||||
|     font-size: 15px; | ||||
|     margin-top: 2.5em; | ||||
|     margin-bottom: 0.8em | ||||
| } | ||||
|  | ||||
| .content h4, .content h5, .content h6 { | ||||
|     font-size: 10px | ||||
| } | ||||
|  | ||||
| .content hr { | ||||
|     margin: 2em 0; | ||||
|     border-top: 2px solid #393939; | ||||
|     border-bottom: 2px solid #eaf2f6 | ||||
| } | ||||
|  | ||||
| .content table { | ||||
|     margin-bottom: 1em; | ||||
|     overflow: auto | ||||
| } | ||||
|  | ||||
| .content table th, .content table td { | ||||
|     text-align: left; | ||||
|     vertical-align: top; | ||||
|     line-height: 1.6 | ||||
| } | ||||
|  | ||||
| .content table th { | ||||
|     padding: 5px 10px; | ||||
|     border-bottom: 1px solid #ccc; | ||||
|     vertical-align: bottom | ||||
| } | ||||
|  | ||||
| .content table td { | ||||
|     padding: 10px | ||||
| } | ||||
|  | ||||
| .content table tr:last-child { | ||||
|     border-bottom: 1px solid #ccc | ||||
| } | ||||
|  | ||||
| .content table tr:nth-child(odd) > td { | ||||
|     background-color: #f9fbfc | ||||
| } | ||||
|  | ||||
| .content table tr:nth-child(even) > td { | ||||
|     background-color: #f3f7fa | ||||
| } | ||||
|  | ||||
| .content dt { | ||||
|     font-weight: bold | ||||
| } | ||||
|  | ||||
| .content dd { | ||||
|     margin-left: 15px | ||||
| } | ||||
|  | ||||
| .content p, .content li, .content dt, .content dd { | ||||
|     line-height: 1.6; | ||||
|     margin-top: 0 | ||||
| } | ||||
|  | ||||
| .content img { | ||||
|     max-width: 100% | ||||
| } | ||||
|  | ||||
| .content code { | ||||
|     background-color: rgba(0, 0, 0, 0.05); | ||||
|     padding: 3px; | ||||
|     border-radius: 3px | ||||
| } | ||||
|  | ||||
| .content pre > code { | ||||
|     background-color: transparent; | ||||
|     padding: 0 | ||||
| } | ||||
|  | ||||
| .content aside { | ||||
|     padding-top: 1em; | ||||
|     padding-bottom: 1em; | ||||
|     text-shadow: 0 1px 0 #c6dde9; | ||||
|     margin-top: 1.5em; | ||||
|     margin-bottom: 1.5em; | ||||
|     background: #8fbcd4; | ||||
|     line-height: 1.6 | ||||
| } | ||||
|  | ||||
| .content aside.warning { | ||||
|     background-color: #c97a7e; | ||||
|     text-shadow: 0 1px 0 #dfb0b3 | ||||
| } | ||||
|  | ||||
| .content aside.success { | ||||
|     background-color: #6ac174; | ||||
|     text-shadow: 0 1px 0 #a0d7a6 | ||||
| } | ||||
|  | ||||
| .content aside:before { | ||||
|     vertical-align: middle; | ||||
|     padding-right: 0.5em; | ||||
|     font-size: 14px | ||||
| } | ||||
|  | ||||
| .content .search-highlight { | ||||
|     padding: 2px; | ||||
|     margin: -2px; | ||||
|     border-radius: 4px; | ||||
|     border: 1px solid #F7E633; | ||||
|     text-shadow: 1px 1px 0 #666; | ||||
|     background: linear-gradient(to top left, #f7e633 0%, #f1d32f 100%) | ||||
| } | ||||
|  | ||||
| .content pre, .content blockquote { | ||||
|     /*background-color: #292929;*/ | ||||
|     background-color: #FBF8EF; | ||||
|     color: #fff; | ||||
|     padding: 2em 28px; | ||||
|     margin: 0; | ||||
|     width: 50%; | ||||
|     float: right; | ||||
|     clear: right; | ||||
|     box-sizing: border-box; | ||||
|     text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4) | ||||
| } | ||||
|  | ||||
| .content pre > p, .content blockquote > p { | ||||
|     margin: 0 | ||||
| } | ||||
|  | ||||
| .content pre a, .content blockquote a { | ||||
|     color: #fff; | ||||
|     text-decoration: none; | ||||
|     border-bottom: dashed 1px #ccc | ||||
| } | ||||
|  | ||||
| .content blockquote > p { | ||||
|     background-color: #eee; | ||||
|     border-radius: 0px; | ||||
|     padding: 13px; | ||||
|     color: #000; | ||||
|     border-left: 4px solid #f0ad4e; | ||||
| /*background-color: #eee;*/ | ||||
|     /*border-radius: 5px;*/ | ||||
|     /*padding: 13px;*/ | ||||
|     /*color: #ccc;*/ | ||||
|     /*border-top: 1px solid #000;*/ | ||||
|     /*border-bottom: 1px solid #404040*/ | ||||
| } | ||||
|  | ||||
| @media (max-width: 930px) { | ||||
|     .tocify-wrapper { | ||||
|         left: -230px | ||||
|     } | ||||
|  | ||||
|     .tocify-wrapper.open { | ||||
|         left: 0 | ||||
|     } | ||||
|  | ||||
|     .page-wrapper { | ||||
|         margin-left: 0 | ||||
|     } | ||||
|  | ||||
|     #nav-button { | ||||
|         display: block | ||||
|     } | ||||
|  | ||||
|     .tocify-wrapper .tocify-item > a { | ||||
|         padding-top: 0.3em; | ||||
|         padding-bottom: 0.3em | ||||
|     } | ||||
| } | ||||
|  | ||||
| /*@media (max-width: 700px) {*/ | ||||
|     .dark-box { | ||||
|         display: none | ||||
|     } | ||||
|  | ||||
|     .content > h1, .content > h2, .content > h3, .content > h4, .content > h5, .content > h6, .content > p, .content > table, .content > ul, .content > ol, .content > aside, .content > dl { | ||||
|         margin-right: 0 | ||||
|     } | ||||
|  | ||||
|     .tocify-wrapper .lang-selector { | ||||
|         display: block | ||||
|     } | ||||
|  | ||||
|     .page-wrapper .lang-selector { | ||||
|         display: none | ||||
|     } | ||||
|  | ||||
|     .content pre, .content blockquote { | ||||
|         width: auto; | ||||
|         float: none | ||||
|     } | ||||
|  | ||||
|     .content > pre + h1, .content > blockquote + h1, .content > pre + h2, .content > blockquote + h2, .content > pre + h3, .content > blockquote + h3, .content > pre + h4, .content > blockquote + h4, .content > pre + h5, .content > blockquote + h5, .content > pre + h6, .content > blockquote + h6, .content > pre + p, .content > blockquote + p, .content > pre + table, .content > blockquote + table, .content > pre + ul, .content > blockquote + ul, .content > pre + ol, .content > blockquote + ol, .content > pre + aside, .content > blockquote + aside, .content > pre + dl, .content > blockquote + dl { | ||||
|         margin-top: 28px | ||||
|     } | ||||
| /*}*/ | ||||
|  | ||||
| .content code, .content pre { | ||||
|     font-size: 12px; | ||||
|     /*-webkit-box-shadow: 0 0 0 3px #eee;*/ | ||||
|     /*box-shadow: 0 0 0 3px #eee;*/ | ||||
|     overflow: auto !important; | ||||
|     margin-bottom: 0; | ||||
|     padding: 10px; | ||||
|     background-color: #fff; | ||||
|     color: #4d4d4c; | ||||
|     margin-bottom: 0; | ||||
| } | ||||
| .content pre { | ||||
|     border-radius: 3px; | ||||
| } | ||||
|  | ||||
| .content pre { | ||||
|     -webkit-box-shadow: 0 0 0 3px #eee; | ||||
|     box-shadow: 0 0 0 3px #eee; | ||||
|     width:900px; | ||||
|     margin-left:auto; | ||||
|     margin-right:auto; | ||||
|     background: #FBF8EF; | ||||
| } | ||||
|  | ||||
| svg { | ||||
|     margin-left:auto; | ||||
|     margin-right:auto; | ||||
| } | ||||
|  | ||||
| .content { | ||||
|     background: #FFF; | ||||
| } | ||||
							
								
								
									
										107
									
								
								dist/www/stylesheets/solarized_light.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										107
									
								
								dist/www/stylesheets/solarized_light.css
									
									
									
									
										vendored
									
									
								
							| @@ -1,107 +0,0 @@ | ||||
| /* | ||||
|  | ||||
| Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com> | ||||
|  | ||||
| */ | ||||
|  | ||||
| .hljs { | ||||
|   display: block; | ||||
|   overflow-x: auto; | ||||
|   padding: 0.5em; | ||||
|   background: #fdf6e3; | ||||
|   color: #657b83; | ||||
|   -webkit-text-size-adjust: none; | ||||
| } | ||||
|  | ||||
| .hljs-comment, | ||||
| .diff .hljs-header, | ||||
| .hljs-doctype, | ||||
| .hljs-pi, | ||||
| .lisp .hljs-string { | ||||
|   color: #93a1a1; | ||||
| } | ||||
|  | ||||
| /* Solarized Green */ | ||||
| .hljs-keyword, | ||||
| .hljs-winutils, | ||||
| .method, | ||||
| .hljs-addition, | ||||
| .css .hljs-tag, | ||||
| .hljs-request, | ||||
| .hljs-status, | ||||
| .nginx .hljs-title { | ||||
|   color: #859900; | ||||
| } | ||||
|  | ||||
| /* Solarized Cyan */ | ||||
| .hljs-number, | ||||
| .hljs-command, | ||||
| .hljs-string, | ||||
| .hljs-tag .hljs-value, | ||||
| .hljs-rule .hljs-value, | ||||
| .hljs-doctag, | ||||
| .tex .hljs-formula, | ||||
| .hljs-regexp, | ||||
| .hljs-hexcolor, | ||||
| .hljs-link_url { | ||||
|   color: #2aa198; | ||||
| } | ||||
|  | ||||
| /* Solarized Blue */ | ||||
| .hljs-title, | ||||
| .hljs-localvars, | ||||
| .hljs-chunk, | ||||
| .hljs-decorator, | ||||
| .hljs-built_in, | ||||
| .hljs-identifier, | ||||
| .vhdl .hljs-literal, | ||||
| .hljs-id, | ||||
| .css .hljs-function, | ||||
| .hljs-name { | ||||
|   color: #268bd2; | ||||
| } | ||||
|  | ||||
| /* Solarized Yellow */ | ||||
| .hljs-attribute, | ||||
| .hljs-variable, | ||||
| .lisp .hljs-body, | ||||
| .smalltalk .hljs-number, | ||||
| .hljs-constant, | ||||
| .hljs-class .hljs-title, | ||||
| .hljs-parent, | ||||
| .hljs-type, | ||||
| .hljs-link_reference { | ||||
|   color: #b58900; | ||||
| } | ||||
|  | ||||
| /* Solarized Orange */ | ||||
| .hljs-preprocessor, | ||||
| .hljs-preprocessor .hljs-keyword, | ||||
| .hljs-pragma, | ||||
| .hljs-shebang, | ||||
| .hljs-symbol, | ||||
| .hljs-symbol .hljs-string, | ||||
| .diff .hljs-change, | ||||
| .hljs-special, | ||||
| .hljs-attr_selector, | ||||
| .hljs-subst, | ||||
| .hljs-cdata, | ||||
| .css .hljs-pseudo, | ||||
| .hljs-header { | ||||
|   color: #cb4b16; | ||||
| } | ||||
|  | ||||
| /* Solarized Red */ | ||||
| .hljs-deletion, | ||||
| .hljs-important { | ||||
|   color: #dc322f; | ||||
| } | ||||
|  | ||||
| /* Solarized Violet */ | ||||
| .hljs-link_label { | ||||
|   color: #6c71c4; | ||||
| } | ||||
|  | ||||
| .tex .hljs-formula { | ||||
|   background: #eee8d5; | ||||
| } | ||||
| @@ -17,6 +17,7 @@ gulp.task('jison_legacy', function(){ | ||||
|         'node node_modules/jison/lib/cli.js src/diagrams/example/parser/example.jison                 -o src/diagrams/example/parser/example.js', | ||||
|         'node node_modules/jison/lib/cli.js src/diagrams/flowchart/parser/flow.jison                  -o src/diagrams/flowchart/parser/flow.js', | ||||
|         'node node_modules/jison/lib/cli.js src/diagrams/flowchart/parser/dot.jison                  -o src/diagrams/flowchart/parser/dot.js', | ||||
|         'node node_modules/jison/lib/cli.js src/diagrams/gitGraph/parser/gitGraph.jison               -o src/diagrams/gitGraph/parser/gitGraph.js', | ||||
|         'node node_modules/jison/lib/cli.js src/diagrams/gantt/parser/gantt.jison                     -o src/diagrams/gantt/parser/gantt.js' | ||||
|     ]); | ||||
| }); | ||||
|   | ||||
| @@ -59,7 +59,7 @@ var options = { | ||||
| page.content = [ | ||||
|     '<html>' | ||||
|   , '<head>' | ||||
|   , '<style type="text/css">' | ||||
|   , '<style type="text/css">body {background:white;font-family: Arial;}' | ||||
|   , options.css | ||||
|   , '</style>' | ||||
|   , '</head>' | ||||
|   | ||||
| @@ -4,3 +4,4 @@ node node_modules/jison/lib/cli.js src/diagrams/example/parser/example.jison | ||||
| node node_modules/jison/lib/cli.js src/diagrams/flowchart/parser/flow.jison                  -o src/diagrams/flowchart/parser/flow.js | ||||
| node node_modules/jison/lib/cli.js src/diagrams/flowchart/parser/dot.jison                   -o src/diagrams/flowchart/parser/dot.js | ||||
| node node_modules/jison/lib/cli.js src/diagrams/gantt/parser/gantt.jison                     -o src/diagrams/gantt/parser/gantt.js | ||||
| node node_modules/jison/lib/cli.js src/diagrams/gitGraph/parser/gitGraph.jison               -o src/diagrams/gitGraph/parser/gitGraph.js | ||||
| @@ -1,4 +1,4 @@ | ||||
| /* parser generated by jison 0.4.15 */ | ||||
| /* parser generated by jison 0.4.17 */ | ||||
| /* | ||||
|   Returns a Parser object of the following structure: | ||||
|  | ||||
| @@ -71,7 +71,7 @@ | ||||
|     recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error) | ||||
|   } | ||||
| */ | ||||
| var classDiagram = (function(){ | ||||
| var parser = (function(){ | ||||
| var o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,11],$V1=[1,12],$V2=[1,13],$V3=[1,15],$V4=[1,16],$V5=[1,17],$V6=[6,8],$V7=[1,26],$V8=[1,27],$V9=[1,28],$Va=[1,29],$Vb=[1,30],$Vc=[1,31],$Vd=[6,8,13,17,23,26,27,28,29,30,31],$Ve=[6,8,13,17,23,26,27,28,29,30,31,45,46,47],$Vf=[23,45,46,47],$Vg=[23,30,31,45,46,47],$Vh=[23,26,27,28,29,45,46,47],$Vi=[6,8,13],$Vj=[1,46]; | ||||
| var parser = {trace: function trace() { }, | ||||
| yy: {}, | ||||
| @@ -170,7 +170,7 @@ parseError: function parseError(str, hash) { | ||||
|             this.message = msg; | ||||
|             this.hash = hash; | ||||
|         } | ||||
|         _parseError.prototype = new Error(); | ||||
|         _parseError.prototype = Error; | ||||
|  | ||||
|         throw new _parseError(str, hash); | ||||
|     } | ||||
| @@ -724,9 +724,9 @@ return new Parser; | ||||
|  | ||||
|  | ||||
| if (typeof require !== 'undefined' && typeof exports !== 'undefined') { | ||||
| exports.parser = classDiagram; | ||||
| exports.Parser = classDiagram.Parser; | ||||
| exports.parse = function () { return classDiagram.parse.apply(classDiagram, arguments); }; | ||||
| exports.parser = parser; | ||||
| exports.Parser = parser.Parser; | ||||
| exports.parse = function () { return parser.parse.apply(parser, arguments); }; | ||||
| exports.main = function commonjsMain(args) { | ||||
|     if (!args[1]) { | ||||
|         console.log('Usage: '+args[0]+' FILE'); | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| /* parser generated by jison 0.4.15 */ | ||||
| /* parser generated by jison 0.4.17 */ | ||||
| /* | ||||
|   Returns a Parser object of the following structure: | ||||
|  | ||||
| @@ -71,7 +71,7 @@ | ||||
|     recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error) | ||||
|   } | ||||
| */ | ||||
| var example = (function(){ | ||||
| var parser = (function(){ | ||||
| var o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,9,10,12]; | ||||
| var parser = {trace: function trace() { }, | ||||
| yy: {}, | ||||
| @@ -110,7 +110,7 @@ parseError: function parseError(str, hash) { | ||||
|             this.message = msg; | ||||
|             this.hash = hash; | ||||
|         } | ||||
|         _parseError.prototype = new Error(); | ||||
|         _parseError.prototype = Error; | ||||
|  | ||||
|         throw new _parseError(str, hash); | ||||
|     } | ||||
| @@ -613,9 +613,9 @@ return new Parser; | ||||
|  | ||||
|  | ||||
| if (typeof require !== 'undefined' && typeof exports !== 'undefined') { | ||||
| exports.parser = example; | ||||
| exports.Parser = example.Parser; | ||||
| exports.parse = function () { return example.parse.apply(example, arguments); }; | ||||
| exports.parser = parser; | ||||
| exports.Parser = parser.Parser; | ||||
| exports.parse = function () { return parser.parse.apply(parser, arguments); }; | ||||
| exports.main = function commonjsMain(args) { | ||||
|     if (!args[1]) { | ||||
|         console.log('Usage: '+args[0]+' FILE'); | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| /* parser generated by jison 0.4.15 */ | ||||
| /* parser generated by jison 0.4.17 */ | ||||
| /* | ||||
|   Returns a Parser object of the following structure: | ||||
|  | ||||
| @@ -71,7 +71,7 @@ | ||||
|     recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error) | ||||
|   } | ||||
| */ | ||||
| var dot = (function(){ | ||||
| var parser = (function(){ | ||||
| var o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,5],$V1=[1,6],$V2=[1,12],$V3=[1,13],$V4=[1,14],$V5=[1,15],$V6=[1,16],$V7=[1,17],$V8=[1,18],$V9=[1,19],$Va=[1,20],$Vb=[1,21],$Vc=[1,22],$Vd=[8,16,17,18,19,20,21,22,23,24,25,26],$Ve=[1,37],$Vf=[1,33],$Vg=[1,34],$Vh=[1,35],$Vi=[1,36],$Vj=[8,10,16,17,18,19,20,21,22,23,24,25,26,28,32,37,39,40,45,57,58],$Vk=[10,28],$Vl=[10,28,37,57,58],$Vm=[2,49],$Vn=[1,45],$Vo=[1,48],$Vp=[1,49],$Vq=[1,52],$Vr=[2,65],$Vs=[1,65],$Vt=[1,66],$Vu=[1,67],$Vv=[1,68],$Vw=[1,69],$Vx=[1,70],$Vy=[1,71],$Vz=[1,72],$VA=[1,73],$VB=[8,16,17,18,19,20,21,22,23,24,25,26,47],$VC=[10,28,37]; | ||||
| var parser = {trace: function trace() { }, | ||||
| yy: {}, | ||||
| @@ -150,7 +150,7 @@ parseError: function parseError(str, hash) { | ||||
|             this.message = msg; | ||||
|             this.hash = hash; | ||||
|         } | ||||
|         _parseError.prototype = new Error(); | ||||
|         _parseError.prototype = Error; | ||||
|  | ||||
|         throw new _parseError(str, hash); | ||||
|     } | ||||
| @@ -724,9 +724,9 @@ return new Parser; | ||||
|  | ||||
|  | ||||
| if (typeof require !== 'undefined' && typeof exports !== 'undefined') { | ||||
| exports.parser = dot; | ||||
| exports.Parser = dot.Parser; | ||||
| exports.parse = function () { return dot.parse.apply(dot, arguments); }; | ||||
| exports.parser = parser; | ||||
| exports.Parser = parser.Parser; | ||||
| exports.parse = function () { return parser.parse.apply(parser, arguments); }; | ||||
| exports.main = function commonjsMain(args) { | ||||
|     if (!args[1]) { | ||||
|         console.log('Usage: '+args[0]+' FILE'); | ||||
|   | ||||
| @@ -311,9 +311,13 @@ parseError: function parseError(str, hash) { | ||||
|     if (hash.recoverable) { | ||||
|         this.trace(str); | ||||
|     } else { | ||||
|         var error = new Error(str); | ||||
|         error.hash = hash; | ||||
|         throw error; | ||||
|         function _parseError (msg, hash) { | ||||
|             this.message = msg; | ||||
|             this.hash = hash; | ||||
|         } | ||||
|         _parseError.prototype = Error; | ||||
|  | ||||
|         throw new _parseError(str, hash); | ||||
|     } | ||||
| }, | ||||
| parse: function parse(input) { | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| /* parser generated by jison 0.4.15 */ | ||||
| /* parser generated by jison 0.4.17 */ | ||||
| /* | ||||
|   Returns a Parser object of the following structure: | ||||
|  | ||||
| @@ -71,7 +71,7 @@ | ||||
|     recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error) | ||||
|   } | ||||
| */ | ||||
| var gantt = (function(){ | ||||
| var parser = (function(){ | ||||
| var o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,8,10,11,12,13,14],$V1=[1,9],$V2=[1,10],$V3=[1,11],$V4=[1,12]; | ||||
| var parser = {trace: function trace() { }, | ||||
| yy: {}, | ||||
| @@ -122,7 +122,7 @@ parseError: function parseError(str, hash) { | ||||
|             this.message = msg; | ||||
|             this.hash = hash; | ||||
|         } | ||||
|         _parseError.prototype = new Error(); | ||||
|         _parseError.prototype = Error; | ||||
|  | ||||
|         throw new _parseError(str, hash); | ||||
|     } | ||||
| @@ -639,9 +639,9 @@ return new Parser; | ||||
|  | ||||
|  | ||||
| if (typeof require !== 'undefined' && typeof exports !== 'undefined') { | ||||
| exports.parser = gantt; | ||||
| exports.Parser = gantt.Parser; | ||||
| exports.parse = function () { return gantt.parse.apply(gantt, arguments); }; | ||||
| exports.parser = parser; | ||||
| exports.Parser = parser.Parser; | ||||
| exports.parse = function () { return parser.parse.apply(parser, arguments); }; | ||||
| exports.main = function commonjsMain(args) { | ||||
|     if (!args[1]) { | ||||
|         console.log('Usage: '+args[0]+' FILE'); | ||||
|   | ||||
| @@ -3,6 +3,8 @@ var ast = require('./gitGraphAst.js'); | ||||
| describe('when parsing a gitGraph',function() { | ||||
|     'use strict'; | ||||
|     beforeEach(function () { | ||||
|         console.log('ast',ast); | ||||
|         console.log('parser',parser); | ||||
|         parser.yy = ast; | ||||
|         parser.yy.clear(); | ||||
|     }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Knut Sveidqvist
					Knut Sveidqvist