isobit-ui 0.0.330 → 0.0.332

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.330
2
+ * isobit-ui v0.0.332
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -1932,16 +1932,18 @@ var script$d = {
1932
1932
  var me, storage;
1933
1933
  me = this;
1934
1934
  storage = me.storage;
1935
- console.log('storage=' + storage);
1936
1935
  return _invokeIgnored(function () {
1937
1936
  if (storage != null) {
1938
1937
  var datj;
1939
1938
  return _invoke$1(function () {
1940
- if (window.idb) {
1939
+ if (window._.indexedDB) {
1940
+ alert('SI IDB');
1941
1941
  return _await$1(me.getStoredList(storage), function (_me$getStoredList) {
1942
1942
  datj = _me$getStoredList;
1943
1943
  });
1944
1944
  } else {
1945
+ alert('NO IDB');
1946
+
1945
1947
  try {
1946
1948
  var vvv = localStorage.getItem(storage);
1947
1949
  if (vvv) datj = JSON.parse(vvv);
@@ -1951,7 +1953,9 @@ var script$d = {
1951
1953
  }
1952
1954
  }, function () {
1953
1955
  if (!datj) datj = [];
1954
- me.data = me.data ? datj.concat(me.data) : datj; //me.rowSelect(null, -10);
1956
+ me.data = me.data ? datj.concat(me.data) : datj;
1957
+ console.log('storage2=' + storage);
1958
+ console.log(me.data); //me.rowSelect(null, -10);
1955
1959
  });
1956
1960
  }
1957
1961
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.330",
3
+ "version": "0.0.332",
4
4
  "description": "Vue component to play videos",
5
5
  "keywords": [
6
6
  "ui",