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

reactjs / react-modal / 538 / 2
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 06 Sep 2017 06:07PM UTC
Files 10
Run time 273min
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

06 Sep 2017 06:04PM UTC coverage: 87.404% (+0.2%) from 87.24%
538.2

push

travis-ci

diasbruno
Export default property in CommonJS and global object

In Babel 5, the ES6 default property was exported as both default
property under the CommonJS export (module.exports) and global object
(in UMD wrapper, on browser). With babel 6 this behaviour was changed
(https://github.com/babel/babel/issues/2212) and now using library
requires e.g.

require("react-modal").default instead of just require("react-modal")
ReactModal.default instead of ReactModal

This babel plugin restores the old behaviour.

174 of 293 branches covered (59.39%)

340 of 389 relevant lines covered (87.4%)

23.83 hits per line

Source Files on job 538.2
  • Tree
  • List 0
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 538
  • Travis Job 538.2
  • 54c59c5c on github
  • Prev Job for on master (#535.2)
  • Next Job for on master (#540.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