make dbIndex private

This commit is contained in:
Andy Gup 2015-03-24 10:35:32 -06:00
parent a36a77a581
commit cf357dda7d
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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) {