profoundjs 6.6.0 → 6.6.1

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.
@@ -2500,4 +2500,4 @@ pui.runtimeMsg.nl_NL=Re("runtimeMsg");pui.runtimeText.nl_NL=Re("runtimeText");pu
2500
2500
  window.pui.Timer=function(){var b=(new Date).getTime(),a=false,c,e=this;this.timeout=600;this.showDebugInfo=false;this.action=null;this.checkFrequency=1E3;this.resetOnUserActivity=false;this.start=function(){if(!a){if(e.resetOnUserActivity)if(document.body.addEventListener){document.body.addEventListener("keydown",e.reset,false);document.body.addEventListener("mousemove",e.reset,false);document.body.addEventListener("click",e.reset,false);document.body.addEventListener("touchstart",e.reset,false);
2501
2501
  document.body.addEventListener("touchmove",e.reset,false)}else if(document.body.attachEvent){document.body.attachEvent("onkeydown",e.reset);document.body.attachEvent("onmousemove",e.reset);document.body.attachEvent("onclick",e.reset)}e.reset();c=setInterval(e.check,e.checkFrequency);a=true}};this.stop=function(){if(a){clearInterval(c);if(e.resetOnUserActivity)if(document.body.removeEventListener){document.body.removeEventListener("keydown",e.reset,false);document.body.removeEventListener("mousemove",
2502
2502
  e.reset,false)}else if(document.body.detachEvent){document.body.detachEvent("onkeydown",e.reset);document.body.detachEvent("onmousemove",e.reset)}a=false}};this.reset=function(){b=(new Date).getTime()};this.check=function(){var f=(new Date).getTime()-b;if(e.showDebugInfo)document.title=parseInt(f/1E3);if(f>=e.timeout*1E3){e.action!=null&&typeof e.action=="function"&&e.action();e.reset()}}};pui.hb={};pui.hb.Jg=new pui.Timer;pui.hb.Jg.action=function(){var b=true;if(pui.onbeforetimeout!=null&&typeof pui.onbeforetimeout=="function")b=pui.onbeforetimeout();b!==false&&pui.hb.Jy();pui.hb.Jg.stop();pui.hb.xh.stop()};pui.hb.xh=new pui.Timer;pui.hb.xh.action=function(){pui.keepAlive()};pui.hb.Jy=function(){pui.doSessionTimeout()};
2503
- pui.hb.start=function(){pui.hb.Jg.stop();pui.hb.xh.stop();if(pui.timeout!=null){var b=pui.timeout-10;if(!(b<3)){pui.hb.Jg.timeout=pui.timeout;pui.hb.xh.timeout=b;pui.hb.Jg.start();pui.hb.xh.start()}}};pui.hb.end=function(){pui.hb.Jg.stop();pui.hb.xh.stop()};
2503
+ pui.hb.start=function(){pui.hb.Jg.stop();pui.hb.xh.stop();if(pui.timeout!=null){var b=pui.timeout-10;if(!(b<3)){pui.hb.Jg.timeout=pui.timeout;pui.hb.xh.timeout=b;pui.hb.Jg.start();pui.hb.xh.start()}}};pui.hb.end=function(){pui.hb.Jg.stop();pui.hb.xh.stop()};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "profoundjs",
3
- "version": "6.6.0",
3
+ "version": "6.6.1",
4
4
  "min-profoundui-version": "6.20.0",
5
5
  "description": "Profound.js Framework and Server",
6
6
  "keywords": [