From 78609fd70502da8299a3980345b61ea15a9b5d35 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 27 Nov 2016 02:10:53 +0900 Subject: [PATCH] doc: Use GitHub pages for JavaScripts --- _docs/examplecontent.tmpl.html | 2 +- docs/examples/alphablending.content.html | 2 +- docs/examples/audio.content.html | 2 +- docs/examples/blocks.content.html | 2 +- docs/examples/font.content.html | 2 +- docs/examples/gamepad.content.html | 2 +- docs/examples/hsv.content.html | 2 +- docs/examples/hue.content.html | 2 +- docs/examples/infinitescroll.content.html | 2 +- docs/examples/keyboard.content.html | 2 +- docs/examples/life.content.html | 2 +- docs/examples/masking.content.html | 2 +- docs/examples/mosaic.content.html | 2 +- docs/examples/noise.content.html | 2 +- docs/examples/paint.content.html | 2 +- docs/examples/perspective.content.html | 2 +- docs/examples/piano.content.html | 2 +- docs/examples/rotate.content.html | 2 +- docs/examples/sprites.content.html | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/_docs/examplecontent.tmpl.html b/_docs/examplecontent.tmpl.html index 0b296222c..3f53e3e05 100644 --- a/_docs/examplecontent.tmpl.html +++ b/_docs/examplecontent.tmpl.html @@ -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() { diff --git a/docs/examples/alphablending.content.html b/docs/examples/alphablending.content.html index 204678a84..2ffe0e807 100644 --- a/docs/examples/alphablending.content.html +++ b/docs/examples/alphablending.content.html @@ -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() { diff --git a/docs/examples/audio.content.html b/docs/examples/audio.content.html index 1a9c42bb1..93c863c20 100644 --- a/docs/examples/audio.content.html +++ b/docs/examples/audio.content.html @@ -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() { diff --git a/docs/examples/blocks.content.html b/docs/examples/blocks.content.html index 2cb6b5380..824ef2c0b 100644 --- a/docs/examples/blocks.content.html +++ b/docs/examples/blocks.content.html @@ -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() { diff --git a/docs/examples/font.content.html b/docs/examples/font.content.html index d67e39245..f67c3b128 100644 --- a/docs/examples/font.content.html +++ b/docs/examples/font.content.html @@ -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() { diff --git a/docs/examples/gamepad.content.html b/docs/examples/gamepad.content.html index 5fab81b25..6303c5152 100644 --- a/docs/examples/gamepad.content.html +++ b/docs/examples/gamepad.content.html @@ -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() { diff --git a/docs/examples/hsv.content.html b/docs/examples/hsv.content.html index 8c64da565..feb9ec368 100644 --- a/docs/examples/hsv.content.html +++ b/docs/examples/hsv.content.html @@ -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() { diff --git a/docs/examples/hue.content.html b/docs/examples/hue.content.html index 8c06d2f35..a184f3ade 100644 --- a/docs/examples/hue.content.html +++ b/docs/examples/hue.content.html @@ -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() { diff --git a/docs/examples/infinitescroll.content.html b/docs/examples/infinitescroll.content.html index 483e9db26..9811d45fa 100644 --- a/docs/examples/infinitescroll.content.html +++ b/docs/examples/infinitescroll.content.html @@ -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() { diff --git a/docs/examples/keyboard.content.html b/docs/examples/keyboard.content.html index ff76b6a6c..753f22ec7 100644 --- a/docs/examples/keyboard.content.html +++ b/docs/examples/keyboard.content.html @@ -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() { diff --git a/docs/examples/life.content.html b/docs/examples/life.content.html index 6fba47dee..3ca1a049c 100644 --- a/docs/examples/life.content.html +++ b/docs/examples/life.content.html @@ -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() { diff --git a/docs/examples/masking.content.html b/docs/examples/masking.content.html index 15cd36f5d..8d0c409fd 100644 --- a/docs/examples/masking.content.html +++ b/docs/examples/masking.content.html @@ -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() { diff --git a/docs/examples/mosaic.content.html b/docs/examples/mosaic.content.html index 7e852cddc..8849d1f2a 100644 --- a/docs/examples/mosaic.content.html +++ b/docs/examples/mosaic.content.html @@ -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() { diff --git a/docs/examples/noise.content.html b/docs/examples/noise.content.html index 7c33f2ec3..0056ceac5 100644 --- a/docs/examples/noise.content.html +++ b/docs/examples/noise.content.html @@ -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() { diff --git a/docs/examples/paint.content.html b/docs/examples/paint.content.html index d4000a04a..43a71feca 100644 --- a/docs/examples/paint.content.html +++ b/docs/examples/paint.content.html @@ -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() { diff --git a/docs/examples/perspective.content.html b/docs/examples/perspective.content.html index 20531f440..418686a11 100644 --- a/docs/examples/perspective.content.html +++ b/docs/examples/perspective.content.html @@ -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() { diff --git a/docs/examples/piano.content.html b/docs/examples/piano.content.html index 962d61af1..c8d6c45d1 100644 --- a/docs/examples/piano.content.html +++ b/docs/examples/piano.content.html @@ -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() { diff --git a/docs/examples/rotate.content.html b/docs/examples/rotate.content.html index b89ca7938..a1315feef 100644 --- a/docs/examples/rotate.content.html +++ b/docs/examples/rotate.content.html @@ -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() { diff --git a/docs/examples/sprites.content.html b/docs/examples/sprites.content.html index 5aa42a054..00bb6abaf 100644 --- a/docs/examples/sprites.content.html +++ b/docs/examples/sprites.content.html @@ -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() {