@bbn/bbn 1.0.148 → 1.0.149

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.
@@ -1537,7 +1537,6 @@ var callback = function (url, res, fn, fn2, ele) {
1537
1537
  var t = typeof res;
1538
1538
  var isObj = t.toLowerCase() === 'object';
1539
1539
  var errTitle = void 0;
1540
- bbn.fn.log("CALLBACK", res);
1541
1540
  if (isObj && res.prescript) {
1542
1541
  /* var ok can be changed to false in prescript execution */
1543
1542
  try {
@@ -2050,6 +2049,9 @@ var link = function () {
2050
2049
  (0,_object_extend_js__WEBPACK_IMPORTED_MODULE_4__.extend)(cfg.obj, tmp.data);
2051
2050
  ok = 1;
2052
2051
  }
2052
+ else {
2053
+ ok = tmp;
2054
+ }
2053
2055
  }
2054
2056
  if (ok) {
2055
2057
  if (ok !== 1 && typeof ok === 'string') {