isobit-ui 0.0.329 → 0.0.334
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.0.
|
|
2
|
+
* isobit-ui v0.0.334
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -1936,11 +1936,14 @@ var script$d = {
|
|
|
1936
1936
|
if (storage != null) {
|
|
1937
1937
|
var datj;
|
|
1938
1938
|
return _invoke$1(function () {
|
|
1939
|
-
if (window.
|
|
1939
|
+
if (window._.db) {
|
|
1940
|
+
alert('SI IDB');
|
|
1940
1941
|
return _await$1(me.getStoredList(storage), function (_me$getStoredList) {
|
|
1941
1942
|
datj = _me$getStoredList;
|
|
1942
1943
|
});
|
|
1943
1944
|
} else {
|
|
1945
|
+
alert('NO IDB');
|
|
1946
|
+
|
|
1944
1947
|
try {
|
|
1945
1948
|
var vvv = localStorage.getItem(storage);
|
|
1946
1949
|
if (vvv) datj = JSON.parse(vvv);
|
|
@@ -1950,7 +1953,9 @@ var script$d = {
|
|
|
1950
1953
|
}
|
|
1951
1954
|
}, function () {
|
|
1952
1955
|
if (!datj) datj = [];
|
|
1953
|
-
me.data = me.data ? datj.concat(me.data) : datj;
|
|
1956
|
+
me.data = me.data ? datj.concat(me.data) : datj;
|
|
1957
|
+
console.log('storage2=' + storage);
|
|
1958
|
+
console.log(me.data); //me.rowSelect(null, -10);
|
|
1954
1959
|
});
|
|
1955
1960
|
}
|
|
1956
1961
|
});
|