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

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

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

pending completion
16

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

Jobs
ID Job ID Ran Files Coverage
1 16.1 27 Mar 2015 10:34PM UTC 0
93.33
Travis Job 16.1
Source Files on build 16
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #16
  • f508d203 on github
  • Next Build on add-callback (#18)
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