Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Ionic, v1.3.5 : Can't find variable: swap #390

Open
stripathix opened this issue Aug 12, 2018 · 1 comment
Open

Ionic, v1.3.5 : Can't find variable: swap #390

stripathix opened this issue Aug 12, 2018 · 1 comment

Comments

@stripathix
Copy link

Short description of the problem:

I can't reproduce it but it got logged to sentry logger.
ReferenceError: Can't find variable: swap

UI events captured during error

ui.click | div.collapse_sp > div.box > form#subForm > div.bottom_shadow > a.orr.activated -- | --

Error occured here

function triggerMouseEvent(type, ele, x, y) {
  // using initMouseEvent instead of MouseEvent for our Android friends
  var clickEvent = document.createEvent("MouseEvents");
  clickEvent.initMouseEvent(type, true, true, window, 1, 0, 0, x, y, false, false, false, false, 0, null);
  clickEvent.isIonicTap = true;
  ele.dispatchEvent(clickEvent);
}

Which Ionic Version? 1.x or 2.x
v1.3.5

@stripathix
Copy link
Author

Environment:
iPhone iOS Version: 11.4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant