@bbn/bbn 1.0.154 → 1.0.156

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/bbn.js CHANGED
@@ -326,6 +326,7 @@ var env = {
326
326
  last_focus: (new Date()).getTime(),
327
327
  /* Sleep mode (tab or window unfocused */
328
328
  sleep: false,
329
+ theme: 'dark',
329
330
  /**
330
331
  * @var bbn.env.loaders Object where the props are MD5 of data and url while the values are the requests,
331
332
  * for preventing the same call to be made at the same time
@@ -13340,6 +13341,8 @@ __webpack_require__.r(__webpack_exports__);
13340
13341
  /* harmony export */ });
13341
13342
  /* harmony import */ var _string_hash_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../string/hash.js */ "./dist/fn/string/hash.js");
13342
13343
  /* harmony import */ var _loop_each_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../loop/each.js */ "./dist/fn/loop/each.js");
13344
+ /* harmony import */ var _misc_analyzeFunction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../misc/analyzeFunction.js */ "./dist/fn/misc/analyzeFunction.js");
13345
+
13343
13346
 
13344
13347
 
13345
13348
  /**
@@ -13409,6 +13412,11 @@ var isSame = function (obj1, obj2, done) {
13409
13412
  });
13410
13413
  return ok_1;
13411
13414
  }
13415
+ else if (obj1 && obj2 && typeof obj1 === 'function' && typeof obj2 === 'function') {
13416
+ var tmp1 = (0,_misc_analyzeFunction_js__WEBPACK_IMPORTED_MODULE_2__.analyzeFunction)(obj1);
13417
+ var tmp2 = (0,_misc_analyzeFunction_js__WEBPACK_IMPORTED_MODULE_2__.analyzeFunction)(obj2);
13418
+ return tmp1.hash === tmp2.hash;
13419
+ }
13412
13420
  return false;
13413
13421
  };
13414
13422