mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
docs: Add redirection page for the playground; Update the content of the playground
Fixes #564
This commit is contained in:
parent
4c906dfbef
commit
1119734ca7
@ -17,7 +17,7 @@ Website: https://hajimehoshi.github.io/ebiten/
|
||||
* [Android](https://github.com/hajimehoshi/ebiten/wiki/Android)
|
||||
* [iOS](https://github.com/hajimehoshi/ebiten/wiki/iOS)
|
||||
* [Web browsers (Chrome, Firefox, Safari and Edge on desktops)](https://github.com/hajimehoshi/ebiten/wiki/Web-Browsers) (powered by [GopherJS](http://gopherjs.org/))
|
||||
* [jsgo.io Playground by Dave Brophy](https://jsgo.io/dave/jsgo/playground#9b4d11ce563df53cb7dff937baa707c3fd41310c)
|
||||
* [jsgo.io Playground by Dave Brophy](https://hajimehoshi.github.io/ebiten/playground.html)
|
||||
|
||||
Note: Gamepad and keyboard are not available on Android/iOS.
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">GoDoc</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
<li class="nav-item"><a class="nav-link" href="https://jsgo.io/dave/jsgo/playground#9b4d11ce563df53cb7dff937baa707c3fd41310c">Playground (jsgo.io)</a>
|
||||
<li class="nav-item"><a class="nav-link" href="./playground.html">Playground (jsgo.io)</a>
|
||||
</ul>
|
||||
</div>
|
||||
</div></nav>
|
||||
@ -45,7 +45,7 @@
|
||||
<dt class="col-2 text-right">Mobiles</dt>
|
||||
<dd class="col-10"><a href="https://github.com/hajimehoshi/ebiten/wiki/Android">Android</a>, <a href="https://github.com/hajimehoshi/ebiten/wiki/iOS">iOS</a></dd>
|
||||
<dt class="col-2 text-right">Web browsers</dt>
|
||||
<dd class="col-10"><a href="https://github.com/hajimehoshi/ebiten/wiki/Web-Browsers">Chrome, Firefox, Safari and Edge on desktops</a> (powered by <a href="https://github.com/gopherjs/gopherjs">GopherJS</a>), <a href="https://jsgo.io/dave/jsgo/playground#9b4d11ce563df53cb7dff937baa707c3fd41310c">jsgo.io Playground by Dave Brophy</a></dd>
|
||||
<dd class="col-10"><a href="https://github.com/hajimehoshi/ebiten/wiki/Web-Browsers">Chrome, Firefox, Safari and Edge on desktops</a> (powered by <a href="https://github.com/gopherjs/gopherjs">GopherJS</a>), <a href="./playground.html">jsgo.io Playground by Dave Brophy</a></dd>
|
||||
</dl>
|
||||
<p><small>Note: Gamepads and keyboard are not available on Android/iOS.</small></p>
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten">GitHub</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://godoc.org/github.com/hajimehoshi/ebiten">GoDoc</a></li>
|
||||
<li class="nav-item"><a class="nav-link" href="https://github.com/hajimehoshi/ebiten/wiki">Wiki</a>
|
||||
<li class="nav-item"><a class="nav-link" href="https://jsgo.io/dave/jsgo/playground#9b4d11ce563df53cb7dff937baa707c3fd41310c">Playground (jsgo.io)</a>
|
||||
<li class="nav-item"><a class="nav-link" href="./playground.html">Playground (jsgo.io)</a>
|
||||
</ul>
|
||||
</div>
|
||||
</div></nav>
|
||||
@ -45,7 +45,7 @@
|
||||
<dt class="col-2 text-right">Mobiles</dt>
|
||||
<dd class="col-10"><a href="https://github.com/hajimehoshi/ebiten/wiki/Android">Android</a>, <a href="https://github.com/hajimehoshi/ebiten/wiki/iOS">iOS</a></dd>
|
||||
<dt class="col-2 text-right">Web browsers</dt>
|
||||
<dd class="col-10"><a href="https://github.com/hajimehoshi/ebiten/wiki/Web-Browsers">Chrome, Firefox, Safari and Edge on desktops</a> (powered by <a href="https://github.com/gopherjs/gopherjs">GopherJS</a>), <a href="https://jsgo.io/dave/jsgo/playground#9b4d11ce563df53cb7dff937baa707c3fd41310c">jsgo.io Playground by Dave Brophy</a></dd>
|
||||
<dd class="col-10"><a href="https://github.com/hajimehoshi/ebiten/wiki/Web-Browsers">Chrome, Firefox, Safari and Edge on desktops</a> (powered by <a href="https://github.com/gopherjs/gopherjs">GopherJS</a>), <a href="./playground.html">jsgo.io Playground by Dave Brophy</a></dd>
|
||||
</dl>
|
||||
<p><small>Note: Gamepads and keyboard are not available on Android/iOS.</small></p>
|
||||
|
||||
|
10
docs/playground.html
Normal file
10
docs/playground.html
Normal file
@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<a href="https://jsgo.io/dave/jsgo/playground#b4704417f6462d4d2724cfd5c3da744b4b17f4af" id="redirect">Playground</a>
|
||||
<script>
|
||||
window.onload = () => {
|
||||
let meta = document.createElement('meta');
|
||||
meta.content = '0;' + document.getElementById('redirect').href;
|
||||
meta.httpEquiv = 'refresh';
|
||||
document.head.appendChild(meta);
|
||||
};
|
||||
</script>
|
Loading…
Reference in New Issue
Block a user