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

Okanjo / okanjo-js / 5956784734
100%

Build:
DEFAULT BRANCH: master
Ran 23 Aug 2023 09:46PM UTC
Jobs 2
Files 20
Run time 3s
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

23 Aug 2023 09:45PM UTC coverage: 100.0%. Remained the same
5956784734

push

github

kfitzgerald
New: Added dispose function to clean a placement off the dom
- Okanjo.js:
  - Updated getElementPosition to report dom errors (e.g node no longer attached)
  - Updated getPercentageInViewport to report dom errors (e.g node no longer attached)
- Placement.js:
  - Added disposed property (flag to indicate whether placement was disposed)
  - Updated _checkViewWatchers to trigger dispose in the event of a dom error (e.g. node was removed from dom)
  - Added dispose method so placements can manually be cleaned off the page (removes watchers, clears markup, sets dispose flag, and triggers dispose event
  - Added dispose event hook so apps can handle dispose events
- placement_test.js: Added dispose tests
- package.json: Bumped to v3.6.0

687 of 687 branches covered (100.0%)

Branch coverage included in aggregate %.

11 of 11 new or added lines in 2 files covered. (100.0%)

1297 of 1297 relevant lines covered (100.0%)

661.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5956784734.1 23 Aug 2023 09:46PM UTC 20
100.0
GitHub Action Run
2 5956784734.2 23 Aug 2023 09:46PM UTC 20
100.0
GitHub Action Run
Source Files on build 5956784734
  • Tree
  • List 20
  • Changed 9
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 747904c9 on github
  • Prev Build on master (#5478138302)
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