From a22db4776058db82fb1001d629d42e9b8053cd64 Mon Sep 17 00:00:00 2001 From: Kieran Farr Date: Sat, 14 Jan 2017 13:44:15 -0800 Subject: [PATCH] hotfix for proper asset json path on github pages --- lib/builder-controls.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/builder-controls.js b/lib/builder-controls.js index 626ecb5..47bc031 100644 --- a/lib/builder-controls.js +++ b/lib/builder-controls.js @@ -20,7 +20,7 @@ var objectDataStore = (function() { $.ajax({ type: "GET", - url: "/assets/mmmm_alien.json", + url: "assets/mmmm_alien.json", dataType: "json", success : function(data) { objectJSON['mmmm_alien'] = data; @@ -32,7 +32,7 @@ var objectDataStore = (function() { $.ajax({ type: "GET", - url: "/assets/mmmm_veh.json", + url: "assets/mmmm_veh.json", dataType: "json", success : function(data) { objectJSON['mmmm_veh'] = data; @@ -44,7 +44,7 @@ var objectDataStore = (function() { $.ajax({ type: "GET", - url: "/assets/kfarr_bases.json", + url: "assets/kfarr_bases.json", dataType: "json", success : function(data) { objectJSON['kfarr_bases'] = data;