@bbn/bbn 1.0.145 → 1.0.147

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.
@@ -1990,6 +1990,9 @@ var link = function () {
1990
1990
  }
1991
1991
  var cfg = (0,_treatAjaxArguments_js__WEBPACK_IMPORTED_MODULE_0__.treatAjaxArguments)(args);
1992
1992
  var ok = 1;
1993
+ if (cfg === true) {
1994
+ return true;
1995
+ }
1993
1996
  /* If we can't find a correct link we load the current URL */
1994
1997
  if (!cfg) {
1995
1998
  return link(window.location.href);
@@ -2034,7 +2037,7 @@ var link = function () {
2034
2037
  window.open(cfg.url);
2035
2038
  return false;
2036
2039
  }
2037
- else if (cfg.url !== bbn.env.params.join('/') || cfg.force) {
2040
+ else if (cfg.url !== bbn.env.params.join('/') || cfg.force === 1) {
2038
2041
  /* The URL is fine so go ahead if something is not already loading */
2039
2042
  /* If a second callback is defined, it is triggered instead of defaultPreLinkFunction */
2040
2043
  if (cfg.successFn) {
@@ -6390,8 +6393,6 @@ __webpack_require__.r(__webpack_exports__);
6390
6393
  /* harmony export */ analyzeFunction: () => (/* binding */ analyzeFunction)
6391
6394
  /* harmony export */ });
6392
6395
  /* harmony import */ var _string_md5_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../string/md5.js */ "./dist/fn/string/md5.js");
6393
- /* harmony import */ var _browser_log_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../browser/log.js */ "./dist/fn/browser/log.js");
6394
-
6395
6396
 
6396
6397
  /**
6397
6398
  * Analyzes the given function and extracts details about its structure.
@@ -6406,7 +6407,6 @@ var analyzeFunction = function (fn) {
6406
6407
  if (typeof all !== "string") {
6407
6408
  throw Error("Unexpected type " + typeof fn + " while parsing function");
6408
6409
  }
6409
- (0,_browser_log_js__WEBPACK_IMPORTED_MODULE_1__.log)("INSIDE ANALYZE FUNCTION", all);
6410
6410
  var exp = "";
6411
6411
  var isArrow = false;
6412
6412
  var isAsync = false;