Merge branch 'master' into gh-pages, and fix a few issues related to autoStart
# Conflicts: # _posts/2016-12-02-the-pdp-11-and-vt100-revisited.md # docs/pcx86/examples/pcx86-dbg.js # docs/pcx86/examples/pcx86.js
This commit is contained in:
parent
bd28930a19
commit
9ed580066c
33 changed files with 348 additions and 321 deletions
|
|
@ -116,7 +116,7 @@ of our Markdown or XML documents. Examples: 'automount' becomes 'autoMount', 'a
|
|||
{% if machine_type == "pc8080" %}{% assign array_scripts = site.pcjs.pc8080_scripts %}{% endif %}
|
||||
{% if machine_type == "pdp11" %}{% assign array_scripts = site.pcjs.pdp11_scripts %}{% endif %}
|
||||
{% for script in array_scripts %}
|
||||
{% if script != "/modules/shared/lib/nodebug.js" or machine.debug != true %}
|
||||
{% if script != "/modules/shared/lib/nodebug.js" or machine.debug != true and site.pcjs.debug != true %}
|
||||
{% capture machine_script %}<script type="text/javascript" src="{{ site.baseurl }}{{ script }}"></script>{% endcapture %}
|
||||
{% unless machine_scripts contains machine_script %}
|
||||
{{ machine_script }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue