removed initial json fetching tests from client and handler

This commit is contained in:
Richard Harrington 2013-08-18 19:57:44 -04:00
parent 31512947f0
commit 6d429d6da0
2 changed files with 0 additions and 6 deletions

View File

@ -11,11 +11,6 @@
Hello World, Welcome to Robotwar.
</p>
<script>
$.getJSON('json-test', function(data){
console.log(data);
});
$.getJSON('worlds/2', function(data) {
console.log(data);
});
</script>
</body>

View File

@ -21,7 +21,6 @@
(def worlds (agent (core/worlds-for-browser-display)))
(defroutes app-routes
(GET "/json-test" [] (response/response {:foo 6 :bar 8}))
(GET "/programs" [] (response/response test-programs/programs))
(GET "/worlds/:n" [n] (response/response
(take-drop-send worlds (Integer/parseInt n))))