mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
use strict
This commit is contained in:
parent
c5e2742045
commit
6e08c15e19
@ -1,3 +1,5 @@
|
||||
"use stict"
|
||||
|
||||
/**
|
||||
* Offline library for storing graphics related to an Edit Task.
|
||||
* Currently works with Points, Polylines and Polygons. Also provides automatic
|
||||
|
||||
@ -118,7 +118,8 @@ Sample demonstrates basic offline editing functionality for points, lines and po
|
||||
<script src="http://js.arcgis.com/3.7/"></script>
|
||||
<script src="../lib/edit/OfflineStore.js"></script>
|
||||
<script>
|
||||
|
||||
"use strict"
|
||||
|
||||
var map;
|
||||
var offlineStore;
|
||||
var vertices;
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
"use strict"
|
||||
|
||||
describe("Initialize Offline Library", function() {
|
||||
it("validate map", function(){
|
||||
expect(map.id).toEqual("map");
|
||||
@ -206,7 +208,7 @@ describe("Validate local storage functionality - simple Point Graphic",function(
|
||||
})
|
||||
|
||||
describe("Validate local storage functionality - delete single Point",function(){
|
||||
var jsonArray;
|
||||
var jsonFromArr;
|
||||
|
||||
it("re-serialize a graphics array", function(){
|
||||
jsonFromArr = offlineStore._reserializeGraphicsArray(serializedGraphicsArr);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user