|
7 | 7 | <meta charset="utf-8" />
|
8 | 8 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
9 | 9 | <meta name="generator" content="pandoc" />
|
| 10 | +<meta http-equiv="X-UA-Compatible" content="IE=EDGE" /> |
10 | 11 |
|
11 | 12 | <meta name="viewport" content="width=device-width, initial-scale=1">
|
12 | 13 |
|
|
94 | 95 | if (rule.type !== rule.STYLE_RULE || rule.selectorText !== "div.sourceCode") continue;
|
95 | 96 | var style = rule.style.cssText;
|
96 | 97 | // check if color or background-color is set
|
97 |
| - if (rule.style.color === '' || rule.style.backgroundColor === '') continue; |
| 98 | + if (rule.style.color === '' && rule.style.backgroundColor === '') continue; |
98 | 99 | // replace div.sourceCode by a pre.sourceCode rule
|
99 | 100 | sheets[i].deleteRule(j);
|
100 | 101 | sheets[i].insertRule('pre.sourceCode{' + style + '}', j);
|
|
289 | 290 | code > span.fu { color: #900; font-weight: bold; } code > span.er { color: #a61717; background-color: #e3d2d2; }
|
290 | 291 | </style>
|
291 | 292 |
|
| 293 | + |
| 294 | + |
| 295 | + |
292 | 296 | </head>
|
293 | 297 |
|
294 | 298 | <body>
|
@@ -459,7 +463,7 @@ <h1>Complete object</h1>
|
459 | 463 | <a class="sourceLine" id="cb15-33" title="33"> </a>
|
460 | 464 | <a class="sourceLine" id="cb15-34" title="34"> <span class="co"># entities can be initialised with populated slots</span></a>
|
461 | 465 | <a class="sourceLine" id="cb15-35" title="35"> <span class="dt">outputs.result_1=</span><span class="kw">entity</span>(<span class="dt">name=</span><span class="st">'Result 1'</span>,<span class="dt">type=</span><span class="st">'dataset'</span>,</a>
|
462 |
| -<a class="sourceLine" id="cb15-36" title="36"> <span class="dt">description=</span><span class="st">'An example entity object'</span>),</a> |
| 466 | +<a class="sourceLine" id="cb15-36" title="36"> <span class="dt">description=</span><span class="st">'An example entity object'</span>,<span class="dt">value=</span><span class="kw">dataset</span>()),</a> |
463 | 467 | <a class="sourceLine" id="cb15-37" title="37"> </a>
|
464 | 468 | <a class="sourceLine" id="cb15-38" title="38"> <span class="co"># outputs dont have to be entity objects but we dont recommend this.</span></a>
|
465 | 469 | <a class="sourceLine" id="cb15-39" title="39"> <span class="dt">outputs.result_2=</span><span class="dv">2</span></a>
|
@@ -490,6 +494,9 @@ <h1>Complete object</h1>
|
490 | 494 |
|
491 | 495 |
|
492 | 496 |
|
| 497 | +<!-- code folding --> |
| 498 | + |
| 499 | + |
493 | 500 | <!-- dynamically load mathjax for compatibility with self-contained -->
|
494 | 501 | <script>
|
495 | 502 | (function () {
|
|
0 commit comments