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

videojs / video.js / 4376
85%

Build:
DEFAULT BRANCH: master
Ran 25 Oct 2016 06:29PM UTC
Jobs 1
Files 91
Run time 10s
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
4376

push

travis-ci

web-flow
fix: make sure that document.createElement exists before using (#3706)

If you try and require videojs in an environment that doesn't implement `document.createElement` properly -- like in Node.js -- you could potentially get an error. This checks that `window.document && window.document.createElement` is available before calling `createElement`.
We specifically check `window.document` so that `global` module won't cause issues with it's shimming of `document.createElement` in `global/document.

Fixes #3665

2 of 2 new or added lines in 1 file covered. (100.0%)

5383 of 6378 relevant lines covered (84.4%)

1048.15 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
11
100.0
src/js/video.js
Jobs
ID Job ID Ran Files Coverage
1 4376.1 25 Oct 2016 06:29PM UTC 0
84.4
Travis Job 4376.1
Source Files on build 4376
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4376
  • 49e29bac on github
  • Prev Build on master (#4322)
  • Next Build on master (#4377)
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