From 6ed351b495db9e9b86066a419df43dd959ae94d3 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 5 Jan 2016 18:29:21 +0100 Subject: MapView: remove ready argument --- src/app.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app.coffee') diff --git a/src/app.coffee b/src/app.coffee index 630fcfd..6c64c5a 100644 --- a/src/app.coffee +++ b/src/app.coffee @@ -14,7 +14,7 @@ window.onload = -> xhr = new XMLHttpRequest() xhr.onload = -> mapDef = new Map(JSON.parse this.responseText) - mapView = new MapView mapDef, -> + mapView = new MapView mapDef xhr.open 'GET', 'resources/map/test.json', true xhr.send() -- cgit v1.2.3