From 25826aab6d96d95ffc8d2eee9af857d43a053849 Mon Sep 17 00:00:00 2001 From: regoo029 Date: Fri, 10 Jul 2015 22:20:28 +0800 Subject: [PATCH] Update sat.js update sat.js --- web-root/scripts/sat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web-root/scripts/sat.js b/web-root/scripts/sat.js index 045beb8..708582d 100644 --- a/web-root/scripts/sat.js +++ b/web-root/scripts/sat.js @@ -106,7 +106,7 @@ dotShader.uCamMatrix = gl.getUniformLocation(dotShader, 'uCamMatrix'); dotShader.uPMatrix = gl.getUniformLocation(dotShader, 'uPMatrix'); - $.get('/TLE.json?fakeparameter=to_avoid_browser_cache', function(resp) { + $.getJSON('/TLE.json?fakeparameter=to_avoid_browser_cache', function(resp) { var startTime = new Date().getTime(); @@ -314,4 +314,4 @@ satSet.draw = function(pMatrix, camMatrix) { window.satSet = satSet; -})(); \ No newline at end of file +})();