mirror of
https://github.com/Esri/offline-editor-js.git
synced 2025-12-15 15:20:05 +00:00
make dbIndex private
This commit is contained in:
parent
a36a77a581
commit
cf357dda7d
4
dist/offline-edit-src.js
vendored
4
dist/offline-edit-src.js
vendored
@ -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) {
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user