This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
ENV APP_HOME /srv/app | |
WORKDIR $APP_HOME | |
# Install node 8.16 | |
RUN apt-get update | |
RUN apt-get -y install build-essential | |
RUN apt-get -y install wget curl gnupg unzip libfontconfig bzip2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class window.IdleTimer | |
constructor: () -> | |
@timer | |
@timeIncrement = 1000 | |
@timeIdle = 0 | |
@timeMax = 10000 | |
@expired = false | |
@interactionMethods = ['click','mousemove'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class IdleTimer | |
{ | |
timer: any; | |
timeIncrement: number = 1000; | |
timeMax: number = 10000; | |
timeIdle: number = 0; | |
expiryCallback: Function; | |
awakeCallback: Function; | |
tickCallback: Function; | |
interactionMethods: string[]; |