Skip to content

Error in eventtargetinterruptsource.js:39 trying to run demo application #100

Open
@marknorgate-meansoft

Description

I'm submitting a ... (check one with "x")

[ x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/HackedByChinese/ng2-idle/blob/master/CONTRIBUTING.md#getting-help

Current behavior
This error is displayed in the console of the browser:

eventtargetinterruptsource.js:39 Uncaught TypeError: Object(...) is not a function
    at eval (eventtargetinterruptsource.js:39)
    at Array.map (<anonymous>)
    at DocumentInterruptSource.EventTargetInterruptSource [as constructor] (eventtargetinterruptsource.js:39)
    at new DocumentInterruptSource (documentinterruptsource.js:21)
    at createDefaultInterruptSources (index.js:16)
    at eval (index.js:19)
    at Object../node_modules/@ng-idle/core/index.js (vendor.bundle.js:455)
    at __webpack_require__ (inline.bundle.js:55)
    at eval (keepalive.js:1)
    at Object../node_modules/@ng-idle/keepalive/src/keepalive.js (vendor.bundle.js:591)

Expected behavior
The timer should start and function as demoed on this page

Minimal reproduction of the problem with instructions

I built the application as described on this page

Please tell us about your environment:

I am using macOS 10.13.3 and Angular 5.2.0.

  • Angular version: 5.2.0
  • Browser: Chrome Version 66.0.3359.181 (Official Build) (64-bit)

  • Language: TypeScript 2.5.3

Has anyone come across this issue? Any idea what I can do about it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions