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

Leaflet / Leaflet.toolbar / 49
96%

Build:
DEFAULT BRANCH: master
Ran 09 Feb 2015 05:53AM UTC
Jobs 1
Files 4
Run time 2s
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
49

push

travis-ci

manleyjster
Fix errors thrown when a toolbar is closed by a click event on an icon inside it.

When popup toolbars were closed in this way, the L.Marker containing the popup toolbar throws an "Uncaught TypeError: Cannot read property 'dragging' of null."

The statements causing the issue seem to be those removing event handlers in L.Toolbar.Popup#onRemove that were introduced to address #7.

Error arose unexpectedly - it may have come from merging in the fix for #3, since both that branch (single-toolbar-on-map) and the master branch contained modifications to L.Toolbar.Popup#onRemove.

117 of 125 relevant lines covered (93.6%)

6.06 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
100.0
src/Toolbar.js
Jobs
ID Job ID Ran Files Coverage
1 49.1 09 Feb 2015 05:53AM UTC 0
93.6
Travis Job 49.1
Source Files on build 49
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #49
  • 6bfaf526 on github
  • Prev Build on master (#47)
  • Next Build on master (#54)
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