diff --git a/dist/offline-edit-src.js b/dist/offline-edit-src.js index a22dcc0..14a7944 100644 --- a/dist/offline-edit-src.js +++ b/dist/offline-edit-src.js @@ -1563,7 +1563,7 @@ O.esri.Edit.EditStore = function () { var dbName = this.dbName; var objectStoreName = this.objectStoreName; - var dbIndex = "featureId"; // @private + var _dbIndex = "featureId"; // @private // ENUMs @@ -2481,7 +2481,7 @@ O.esri.Edit.EditStore = function () { } var objectStore = db.createObjectStore(objectStoreName, {keyPath: "id"}); - objectStore.createIndex(dbIndex, dbIndex, {unique: false}); + objectStore.createIndex(_dbIndex, _dbIndex, {unique: false}); }.bind(this); request.onsuccess = function (event) { diff --git a/lib/edit/editsStore.js b/lib/edit/editsStore.js index 39e8368..3b0d99f 100644 --- a/lib/edit/editsStore.js +++ b/lib/edit/editsStore.js @@ -11,7 +11,7 @@ O.esri.Edit.EditStore = function () { var dbName = this.dbName; var objectStoreName = this.objectStoreName; - var dbIndex = "featureId"; // @private + var _dbIndex = "featureId"; // @private // ENUMs @@ -929,7 +929,7 @@ O.esri.Edit.EditStore = function () { } var objectStore = db.createObjectStore(objectStoreName, {keyPath: "id"}); - objectStore.createIndex(dbIndex, dbIndex, {unique: false}); + objectStore.createIndex(_dbIndex, _dbIndex, {unique: false}); }.bind(this); request.onsuccess = function (event) {