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

maxwellhealth / maxwell-modal / 16 / 1
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: snyk-fix-3348b785
DEFAULT BRANCH: master
Ran 27 Mar 2015 10:34PM UTC
Files 3
Run time 1s
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

27 Mar 2015 10:28PM UTC coverage: 93.333%. First build
16.1

push

travis-ci

artburkart
Add optional callback to onYes() in Modal.js

I attempted a Promise strategy, but it complicated the interface for the
user. Now, Modal.js intelligently determines if the onYes defined by the
user has an arity of 1 or 0. If its arity is 1, then it assumes it's a
callback and closes the modal depending on whether the callback returns
a Boolean value of true.

70 of 75 relevant lines covered (93.33%)

4.33 hits per line

Source Files on job 16.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16
  • Travis Job 16.1
  • f508d203 on github
  • Next Job for on add-callback (#18.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