• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

straker / kontra / 481
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/json5-2.2.3
DEFAULT BRANCH: main
Ran 22 Oct 2019 03:25AM UTC
Jobs 1
Files 18
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
481

push

travis-ci

straker
feat(pointer): add multi-touch support (#126)

* Initial multi-touch support.

* Update touches example to show onUp and onDown.

* Fix multi-touch code to handle onUp events properly.

* Fix type on example.

* Change example so you can actually reach the code.

* Pass tests.

- Fire callbacks for each touch.
- Check for existance of changedTouches.
- Prevent double firing of touch events.

* Add touch info to pointer.touches.

* Add touchcancel listener.

* Update touches example to show touch IDs.

* Add second multi-touch example that shows tracking.

* Keep events in ID order.

* Ignore mouse events in example.

* Add changedTouches data to test events.

* Update all touch tests to pass changedTouches.

- changedEvents is widely supported and is the most concise way to handle emitting events for only updated touches (flickering).
- caniuse shows support for all but Safari but tests on my phone show Safari is working just fine.
- Match styles from touchend tests.

* Add pointer.touches test to restore coverage.

* Update example to be compatible with core Pointer API.

* Change pointer.touches to map. Update example to demonstrate simplification.

* Update test to account for switch from array to map.

* Update examples for merge.

325 of 332 branches covered (97.89%)

678 of 678 relevant lines covered (100.0%)

23.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 481.1 22 Oct 2019 03:25AM UTC 0
100.0
Travis Job 481.1
Source Files on build 481
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #481
  • 0b62365b on github
  • Prev Build on master (#479)
  • Next Build on master (#482)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc