diff options
Diffstat (limited to 'src/app.coffee')
-rw-r--r-- | src/app.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
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() |