mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-23 17:32:02 +01:00
doc: Use GitHub pages for JavaScripts
This commit is contained in:
parent
563efe3295
commit
78609fd705
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = '{{.Example.Name}}.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'alphablending.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'audio.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'blocks.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'font.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'gamepad.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'hsv.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'hue.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'infinitescroll.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'keyboard.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'life.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'masking.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'mosaic.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'noise.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'paint.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'perspective.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'piano.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'rotate.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
@ -16,7 +16,7 @@ window.addEventListener('load', function() {
|
||||
var s = document.createElement('script');
|
||||
var src = 'sprites.js';
|
||||
if (isProduction()) {
|
||||
src = 'https://dl.dropboxusercontent.com/u/3692507/ebiten.examples/' + src;
|
||||
src = 'https://hajimehoshi.github.io/ebiten.pagestorage/1.4/' + src;
|
||||
}
|
||||
s.src = src;
|
||||
s.onload = function() {
|
||||
|
Loading…
Reference in New Issue
Block a user