From 7e288a2d6a5754183ef08e40a112472cf5215c8c Mon Sep 17 00:00:00 2001 From: Javier Abadia Date: Tue, 21 Jan 2014 23:57:20 +0100 Subject: [PATCH] unit tests also AMD compliant --- test/SpecRunner.edit.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/test/SpecRunner.edit.html b/test/SpecRunner.edit.html index eb79cd8..41a1a2e 100755 --- a/test/SpecRunner.edit.html +++ b/test/SpecRunner.edit.html @@ -10,10 +10,19 @@ + + + - @@ -41,8 +50,9 @@ "esri/layers/FeatureLayer", "esri/symbols/SimpleLineSymbol", "dojo/_base/Color", + "edit/OfflineStore", "dojo/domReady!"], - function(Map,Point,Polygon,Polyline,FeatureLayer,SimpleLineSymbol,Color) { + function(Map,Point,Polygon,Polyline,FeatureLayer,SimpleLineSymbol,Color,OfflineStore) { map = new Map("map", { basemap: "topo", @@ -65,7 +75,6 @@ map.addLayer(landusePointLayer); SLS = SimpleLineSymbol; dojoColor = Color; - }); function initGraphics(){ @@ -168,6 +177,7 @@ } } } + });