mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 10:42:42 +01:00
doc: Update example JS links
This commit is contained in:
parent
0d72b4e6c2
commit
306fd9aaa4
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = '{{.Example.Name}}.js';
|
var src = '{{.Example.Name}}.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'alphablending.js';
|
var src = 'alphablending.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'audio.js';
|
var src = 'audio.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'blocks.js';
|
var src = 'blocks.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'font.js';
|
var src = 'font.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'gamepad.js';
|
var src = 'gamepad.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'hsv.js';
|
var src = 'hsv.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'hue.js';
|
var src = 'hue.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'keyboard.js';
|
var src = 'keyboard.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'masking.js';
|
var src = 'masking.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'mosaic.js';
|
var src = 'mosaic.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'noise.js';
|
var src = 'noise.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'paint.js';
|
var src = 'paint.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'perspective.js';
|
var src = 'perspective.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'piano.js';
|
var src = 'piano.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'rotate.js';
|
var src = 'rotate.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
|||||||
var s = document.createElement('script');
|
var s = document.createElement('script');
|
||||||
var src = 'sprites.js';
|
var src = 'sprites.js';
|
||||||
if (isProduction()) {
|
if (isProduction()) {
|
||||||
src = '//hajimehoshi.github.io/ebiten.pagestorage/latest/' + src;
|
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||||
}
|
}
|
||||||
s.src = src;
|
s.src = src;
|
||||||
document.body.appendChild(s);
|
document.body.appendChild(s);
|
||||||
|
Loading…
Reference in New Issue
Block a user