Skip to content

Commit

Permalink
Merge 735d2ec into dda1685
Browse files Browse the repository at this point in the history
  • Loading branch information
straker committed May 19, 2019
2 parents dda1685 + 735d2ec commit cf3a009
Show file tree
Hide file tree
Showing 24 changed files with 562 additions and 265 deletions.
5 changes: 5 additions & 0 deletions doc-tasks.js
Expand Up @@ -325,6 +325,11 @@ function livingcssPreprocess(context, template, Handlebars) {
navbar = context.navbar;
}

// fix lower casing of names
if (context.id === 'gameloop') context.id = 'gameLoop';
else if (context.id === 'spritesheet') context.id = 'spriteSheet';
else if (context.id === 'tileengine') context.id = 'tileEngine';

// create 4 different sections that can be used to organize the page
context.otherSections = [];
context.methods = [];
Expand Down
44 changes: 22 additions & 22 deletions docs/api/animation.html
Expand Up @@ -186,37 +186,37 @@ <h2 id="toc"><a href="#toc" class="section-link">Table of Contents<span aria-hid
<h3 id="properties">Properties</h3>
<ul aria-labelledby="properties">
<li>
<a href="#frameRate">
<a href="/api/animation#frameRate">
<span>Animation&#8203;.frameRate</span>
</a>
</li>
<li>
<a href="#frames">
<a href="/api/animation#frames">
<span>Animation&#8203;.frames</span>
</a>
</li>
<li>
<a href="#height">
<a href="/api/animation#height">
<span>Animation&#8203;.height</span>
</a>
</li>
<li>
<a href="#loop">
<a href="/api/animation#loop">
<span>Animation&#8203;.loop</span>
</a>
</li>
<li>
<a href="#margin">
<a href="/api/animation#margin">
<span>Animation&#8203;.margin</span>
</a>
</li>
<li>
<a href="#spriteSheet">
<a href="/api/animation#spriteSheet">
<span>Animation&#8203;.spriteSheet</span>
</a>
</li>
<li>
<a href="#width">
<a href="/api/animation#width">
<span>Animation&#8203;.width</span>
</a>
</li>
Expand All @@ -227,22 +227,22 @@ <h3 id="properties">Properties</h3>
<h3 id="methods">Methods</h3>
<ul aria-labelledby="methods">
<li>
<a href="#clone">
<a href="/api/animation#clone">
<span>Animation&#8203;.clone(&#8203;)</span>
</a>
</li>
<li>
<a href="#render">
<a href="/api/animation#render">
<span>Animation&#8203;.render(&#8203;properties)</span>
</a>
</li>
<li>
<a href="#reset">
<a href="/api/animation#reset">
<span>Animation&#8203;.reset(&#8203;)</span>
</a>
</li>
<li>
<a href="#update">
<a href="/api/animation#update">
<span>Animation&#8203;.update(&#8203;[dt])</span>
</a>
</li>
Expand All @@ -254,7 +254,7 @@ <h3 id="methods">Methods</h3>

<section>
<h2 id="clone">
<a href="#clone" class="section-link">
<a href="/api/animation#clone" class="section-link">
<span>Animation&#8203;.clone(&#8203;)</span>
<span aria-hidden="true">#</span>
</a>
Expand All @@ -268,7 +268,7 @@ <h3><span class="visually-hidden">clone</span> Return value</h3>
</section>
<section>
<h2 id="frameRate">
<a href="#frameRate" class="section-link">
<a href="/api/animation#frameRate" class="section-link">
<span>Animation&#8203;.frameRate</span>
<span aria-hidden="true">#</span>
</a>
Expand All @@ -279,7 +279,7 @@ <h2 id="frameRate">
</section>
<section>
<h2 id="frames">
<a href="#frames" class="section-link">
<a href="/api/animation#frames" class="section-link">
<span>Animation&#8203;.frames</span>
<span aria-hidden="true">#</span>
</a>
Expand All @@ -290,7 +290,7 @@ <h2 id="frames">
</section>
<section>
<h2 id="height">
<a href="#height" class="section-link">
<a href="/api/animation#height" class="section-link">
<span>Animation&#8203;.height</span>
<span aria-hidden="true">#</span>
</a>
Expand All @@ -301,7 +301,7 @@ <h2 id="height">
</section>
<section>
<h2 id="loop">
<a href="#loop" class="section-link">
<a href="/api/animation#loop" class="section-link">
<span>Animation&#8203;.loop</span>
<span aria-hidden="true">#</span>
</a>
Expand All @@ -312,7 +312,7 @@ <h2 id="loop">
</section>
<section>
<h2 id="margin">
<a href="#margin" class="section-link">
<a href="/api/animation#margin" class="section-link">
<span>Animation&#8203;.margin</span>
<span aria-hidden="true">#</span>
</a>
Expand All @@ -323,7 +323,7 @@ <h2 id="margin">
</section>
<section>
<h2 id="render">
<a href="#render" class="section-link">
<a href="/api/animation#render" class="section-link">
<span>Animation&#8203;.render(&#8203;properties)</span>
<span aria-hidden="true">#</span>
</a>
Expand Down Expand Up @@ -373,7 +373,7 @@ <h3 id="title-render"><span class="visually-hidden">render</span> Parameters</sp
</section>
<section>
<h2 id="reset">
<a href="#reset" class="section-link">
<a href="/api/animation#reset" class="section-link">
<span>Animation&#8203;.reset(&#8203;)</span>
<span aria-hidden="true">#</span>
</a>
Expand All @@ -384,7 +384,7 @@ <h2 id="reset">
</section>
<section>
<h2 id="spriteSheet">
<a href="#spriteSheet" class="section-link">
<a href="/api/animation#spriteSheet" class="section-link">
<span>Animation&#8203;.spriteSheet</span>
<span aria-hidden="true">#</span>
</a>
Expand All @@ -395,7 +395,7 @@ <h2 id="spriteSheet">
</section>
<section>
<h2 id="update">
<a href="#update" class="section-link">
<a href="/api/animation#update" class="section-link">
<span>Animation&#8203;.update(&#8203;[dt])</span>
<span aria-hidden="true">#</span>
</a>
Expand All @@ -415,7 +415,7 @@ <h3 id="title-update"><span class="visually-hidden">update</span> Parameters</sp
</section>
<section>
<h2 id="width">
<a href="#width" class="section-link">
<a href="/api/animation#width" class="section-link">
<span>Animation&#8203;.width</span>
<span aria-hidden="true">#</span>
</a>
Expand Down
40 changes: 20 additions & 20 deletions docs/api/assets.html
Expand Up @@ -129,17 +129,17 @@ <h2 id="toc"><a href="#toc" class="section-link">Table of Contents<span aria-hid
<h3 id="properties">Properties</h3>
<ul aria-labelledby="properties">
<li>
<a href="#audioAssets">
<a href="/api/assets#audioAssets">
<span>audioAssets</span>
</a>
</li>
<li>
<a href="#dataAssets">
<a href="/api/assets#dataAssets">
<span>dataAssets</span>
</a>
</li>
<li>
<a href="#imageAssets">
<a href="/api/assets#imageAssets">
<span>imageAssets</span>
</a>
</li>
Expand All @@ -150,37 +150,37 @@ <h3 id="properties">Properties</h3>
<h3 id="methods">Methods</h3>
<ul aria-labelledby="methods">
<li>
<a href="#load">
<a href="/api/assets#load">
<span>load(&#8203;urls)</span>
</a>
</li>
<li>
<a href="#loadAudio">
<a href="/api/assets#loadAudio">
<span>loadAudio(&#8203;url)</span>
</a>
</li>
<li>
<a href="#loadData">
<a href="/api/assets#loadData">
<span>loadData(&#8203;url)</span>
</a>
</li>
<li>
<a href="#loadImage">
<a href="/api/assets#loadImage">
<span>loadImage(&#8203;url)</span>
</a>
</li>
<li>
<a href="#setAudioPath">
<a href="/api/assets#setAudioPath">
<span>setAudioPath(&#8203;path)</span>
</a>
</li>
<li>
<a href="#setDataPath">
<a href="/api/assets#setDataPath">
<span>setDataPath(&#8203;path)</span>
</a>
</li>
<li>
<a href="#setImagePath">
<a href="/api/assets#setImagePath">
<span>setImagePath(&#8203;path)</span>
</a>
</li>
Expand All @@ -192,7 +192,7 @@ <h3 id="methods">Methods</h3>

<section>
<h2 id="audioAssets">
<a href="#audioAssets" class="section-link">
<a href="/api/assets#audioAssets" class="section-link">
<span>audioAssets</span>
<span aria-hidden="true">#</span>
</a>
Expand Down Expand Up @@ -262,7 +262,7 @@ <h2 id="audioAssets">
</section>
<section>
<h2 id="dataAssets">
<a href="#dataAssets" class="section-link">
<a href="/api/assets#dataAssets" class="section-link">
<span>dataAssets</span>
<span aria-hidden="true">#</span>
</a>
Expand Down Expand Up @@ -332,7 +332,7 @@ <h2 id="dataAssets">
</section>
<section>
<h2 id="imageAssets">
<a href="#imageAssets" class="section-link">
<a href="/api/assets#imageAssets" class="section-link">
<span>imageAssets</span>
<span aria-hidden="true">#</span>
</a>
Expand Down Expand Up @@ -402,7 +402,7 @@ <h2 id="imageAssets">
</section>
<section>
<h2 id="load">
<a href="#load" class="section-link">
<a href="/api/assets#load" class="section-link">
<span>load(&#8203;urls)</span>
<span aria-hidden="true">#</span>
</a>
Expand Down Expand Up @@ -475,7 +475,7 @@ <h3><span class="visually-hidden">load</span> Return value</h3>
</section>
<section>
<h2 id="loadAudio">
<a href="#loadAudio" class="section-link">
<a href="/api/assets#loadAudio" class="section-link">
<span>loadAudio(&#8203;url)</span>
<span aria-hidden="true">#</span>
</a>
Expand Down Expand Up @@ -546,7 +546,7 @@ <h3><span class="visually-hidden">loadAudio</span> Return value</h3>
</section>
<section>
<h2 id="loadData">
<a href="#loadData" class="section-link">
<a href="/api/assets#loadData" class="section-link">
<span>loadData(&#8203;url)</span>
<span aria-hidden="true">#</span>
</a>
Expand Down Expand Up @@ -602,7 +602,7 @@ <h3><span class="visually-hidden">loadData</span> Return value</h3>
</section>
<section>
<h2 id="loadImage">
<a href="#loadImage" class="section-link">
<a href="/api/assets#loadImage" class="section-link">
<span>loadImage(&#8203;url)</span>
<span aria-hidden="true">#</span>
</a>
Expand Down Expand Up @@ -658,7 +658,7 @@ <h3><span class="visually-hidden">loadImage</span> Return value</h3>
</section>
<section>
<h2 id="setAudioPath">
<a href="#setAudioPath" class="section-link">
<a href="/api/assets#setAudioPath" class="section-link">
<span>setAudioPath(&#8203;path)</span>
<span aria-hidden="true">#</span>
</a>
Expand Down Expand Up @@ -707,7 +707,7 @@ <h3 id="title-setAudioPath"><span class="visually-hidden">setAudioPath</span> Pa
</section>
<section>
<h2 id="setDataPath">
<a href="#setDataPath" class="section-link">
<a href="/api/assets#setDataPath" class="section-link">
<span>setDataPath(&#8203;path)</span>
<span aria-hidden="true">#</span>
</a>
Expand Down Expand Up @@ -756,7 +756,7 @@ <h3 id="title-setDataPath"><span class="visually-hidden">setDataPath</span> Para
</section>
<section>
<h2 id="setImagePath">
<a href="#setImagePath" class="section-link">
<a href="/api/assets#setImagePath" class="section-link">
<span>setImagePath(&#8203;path)</span>
<span aria-hidden="true">#</span>
</a>
Expand Down
12 changes: 6 additions & 6 deletions docs/api/core.html
Expand Up @@ -119,17 +119,17 @@ <h2 id="toc"><a href="#toc" class="section-link">Table of Contents<span aria-hid
<h3 id="methods">Methods</h3>
<ul aria-labelledby="methods">
<li>
<a href="#getCanvas">
<a href="/api/core#getCanvas">
<span>getCanvas(&#8203;)</span>
</a>
</li>
<li>
<a href="#getContext">
<a href="/api/core#getContext">
<span>getContext(&#8203;)</span>
</a>
</li>
<li>
<a href="#init">
<a href="/api/core#init">
<span>init(&#8203;[canvas])</span>
</a>
</li>
Expand All @@ -141,7 +141,7 @@ <h3 id="methods">Methods</h3>

<section>
<h2 id="getCanvas">
<a href="#getCanvas" class="section-link">
<a href="/api/core#getCanvas" class="section-link">
<span>getCanvas(&#8203;)</span>
<span aria-hidden="true">#</span>
</a>
Expand All @@ -155,7 +155,7 @@ <h3><span class="visually-hidden">getCanvas</span> Return value</h3>
</section>
<section>
<h2 id="getContext">
<a href="#getContext" class="section-link">
<a href="/api/core#getContext" class="section-link">
<span>getContext(&#8203;)</span>
<span aria-hidden="true">#</span>
</a>
Expand All @@ -169,7 +169,7 @@ <h3><span class="visually-hidden">getContext</span> Return value</h3>
</section>
<section>
<h2 id="init">
<a href="#init" class="section-link">
<a href="/api/core#init" class="section-link">
<span>init(&#8203;[canvas])</span>
<span aria-hidden="true">#</span>
</a>
Expand Down

0 comments on commit cf3a009

Please sign in to comment.