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

daviferreira / medium-editor / 1841 / 1
96%
master: 95%

Build:
Build:
LAST BUILD BRANCH: custom-events-fix
DEFAULT BRANCH: master
Ran 28 May 2015 01:14PM UTC
Files 23
Run time 1min
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

28 May 2015 01:12PM UTC coverage: 95.547% (-0.2%) from 95.754%
1841.1

push

travis-ci

j0k3r
Create Util.isKey to check if key is in an event

Instead of always trying to find which key is associated to an event for all browsers, I created a helper in Util to check if the associated key of an event is the one (or multiple) we are looking for.

I follow what is already done by jQuery to detect the key code from an event.

It'll ease the transition when the `.key` will be compatible with all browsers (https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key)

2060 of 2156 relevant lines covered (95.55%)

291.47 hits per line

Source Files on job 1841.1
  • Tree
  • List 0
  • Changed 16
  • Source Changed 15
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1841
  • Travis Job 1841.1
  • 8934a0cd on github
  • Prev Job for on keycode (#1835.1)
  • Next Job for on keycode (#1842.1)
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

© 2026 Coveralls, Inc