Skip to content

Commit

Permalink
release 6.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
straker committed Oct 22, 2019
1 parent b86ee55 commit 0c6b459
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h2 id="source-code">Source Code</h2>
<li><a href="https://raw.githubusercontent.com/straker/kontra/master/kontra.js">Global object development version</a></li>
<li><a href="https://raw.githubusercontent.com/straker/kontra/master/kontra.min.mjs">ES Module production version</a></li>
<li><a href="https://raw.githubusercontent.com/straker/kontra/master/kontra.mjs">ES Module development version</a></li>
<li><a href="https://registry.npmjs.org/kontra/-/kontra-6.8.0.tgz">TGZ file</a></li>
<li><a href="https://registry.npmjs.org/kontra/-/kontra-6.9.0.tgz">TGZ file</a></li>
<li><a href="https://github.com/straker/kontra">Github repo</a></li>
</ul>
<h2 id="package-mangers">Package mangers</h2>
Expand All @@ -84,11 +84,11 @@ <h2 id="package-mangers">Package mangers</h2>
</ul>
<h2 id="cdn">CDN</h2>
<h3 id="global-object">Global Object</h3>
<pre><code class="language-html">&lt;script src=&quot;https://cdn.jsdelivr.net/npm/kontra@6.8.0/kontra.min.js&quot;&gt;&lt;/script&gt;</code></pre>
<pre><code class="language-html">&lt;script src=&quot;https://cdn.jsdelivr.net/npm/kontra@6.8.0/kontra.js&quot;&gt;&lt;/script&gt;</code></pre>
<pre><code class="language-html">&lt;script src=&quot;https://cdn.jsdelivr.net/npm/kontra@6.9.0/kontra.min.js&quot;&gt;&lt;/script&gt;</code></pre>
<pre><code class="language-html">&lt;script src=&quot;https://cdn.jsdelivr.net/npm/kontra@6.9.0/kontra.js&quot;&gt;&lt;/script&gt;</code></pre>
<h3 id="es-module-import">ES Module Import</h3>
<pre><code class="language-js">import kontra from &#39;https://cdn.jsdelivr.net/npm/kontra@6.8.0/kontra.min.mjs&#39;;</code></pre>
<pre><code class="language-js">import kontra from &#39;https://cdn.jsdelivr.net/npm/kontra@6.8.0/kontra.mjs&#39;;</code></pre>
<pre><code class="language-js">import kontra from &#39;https://cdn.jsdelivr.net/npm/kontra@6.9.0/kontra.min.mjs&#39;;</code></pre>
<pre><code class="language-js">import kontra from &#39;https://cdn.jsdelivr.net/npm/kontra@6.9.0/kontra.mjs&#39;;</code></pre>
<h2 id="custom-builds">Custom Builds</h2>
<p>As of kontra 6.0.0, custom builds can be achieved by using a module bundler such as <a href="https://rollupjs.org/">Rollup</a> or <a href="https://webpack.js.org/">webpack</a>. Kontra supports ES modules, allowing you to use <a href="https://rollupjs.org/guide/en#tree-shaking">tree-shaking</a> to only bundle the code you need.</p>
<pre><code class="language-js">// game.js
Expand Down

0 comments on commit 0c6b459

Please sign in to comment.