@bbn/bbn 1.0.273 → 1.0.274

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/fn/init.js CHANGED
@@ -97,11 +97,13 @@ export default function init(cfg, force) {
97
97
  bbn.env.isFocused = true;
98
98
  bbn.env.last_focus = timestamp();
99
99
  bbn.fn.defaultWindowFocusFunction();
100
+ bbn.fn.log("FOCUSING ON WINDOW");
100
101
  };
101
102
  window.onblur = function () {
102
103
  bbn.env.isFocused = false;
103
104
  bbn.env.timeoff = Math.round(timestamp() / 1000);
104
105
  bbn.fn.defaultWindowBlurFunction();
106
+ bbn.fn.log("BLURING ON WINDOW");
105
107
  };
106
108
  document.addEventListener("focusin", function (e) {
107
109
  if (e.target instanceof HTMLElement &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "1.0.273",
3
+ "version": "1.0.274",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",