e5c90825e160

Fix JS demos (thanks, Weend)
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 18 Sep 2017 00:11:54 -0400
parents bfaa208cef0e
children 0f14dbf1e330
branches/tags (none)
files content/blog/2016/02/midpoint-displacement.markdown content/blog/2016/03/recursive-midpoint-displacement.markdown content/blog/2016/06/diamond-square.markdown

Changes

--- a/content/blog/2016/02/midpoint-displacement.markdown	Thu Aug 10 22:24:43 2017 -0400
+++ b/content/blog/2016/02/midpoint-displacement.markdown	Mon Sep 18 00:11:54 2017 -0400
@@ -7,9 +7,9 @@
 
 +++
 
-<script data-cfasync="false" src="/media/js/three.min.js"></script>
-<script data-cfasync="false" src="/media/js/TrackballControls.js"></script>
-<script data-cfasync="false" src="/media/js/terrain1.js"></script>
+<script defer src="/media/js/three.min.js"></script>
+<script defer src="/media/js/TrackballControls.js"></script>
+<script defer src="/media/js/terrain1.js"></script>
 
 I'm taking the Game Engine Architecture class at Reykjavík University.  My group
 just finished our midterm [project][] where we played around with procedural
--- a/content/blog/2016/03/recursive-midpoint-displacement.markdown	Thu Aug 10 22:24:43 2017 -0400
+++ b/content/blog/2016/03/recursive-midpoint-displacement.markdown	Mon Sep 18 00:11:54 2017 -0400
@@ -6,10 +6,10 @@
 
 +++
 
-<script data-cfasync="false" src="/media/js/three.min.js"></script>
-<script data-cfasync="false" src="/media/js/TrackballControls.js"></script>
+<script defer src="/media/js/three.min.js"></script>
+<script defer src="/media/js/TrackballControls.js"></script>
 
-<script data-cfasync="false" src="/media/js/terrain2.js"></script>
+<script defer src="/media/js/terrain2.js"></script>
 
 In the [last post][mpd] we looked at implementing the Midpoint Displacement
 algorithm.  I ended up doing the last step iteratively, which works, but isn't
--- a/content/blog/2016/06/diamond-square.markdown	Thu Aug 10 22:24:43 2017 -0400
+++ b/content/blog/2016/06/diamond-square.markdown	Mon Sep 18 00:11:54 2017 -0400
@@ -6,9 +6,9 @@
 
 +++
 
-<script data-cfasync="false" src="/media/js/three.min.js"></script>
-<script data-cfasync="false" src="/media/js/TrackballControls.js"></script>
-<script data-cfasync="false" src="/media/js/terrain3.js"></script>
+<script defer src="/media/js/three.min.js"></script>
+<script defer src="/media/js/TrackballControls.js"></script>
+<script defer src="/media/js/terrain3.js"></script>
 
 In the last two posts we looked at implementing the Midpoint Displacement
 algorithm for procedurally generating terrain.  Today we're going to look at