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

hypothesis / h / 7531
97%

Build:
DEFAULT BRANCH: master
Ran 13 Aug 2015 01:05AM UTC
Jobs 1
Files 79
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
7531

push

travis-ci

tilgovi
Improve symmetry for AnnotationSync

This change simplifies the AnnotationSync events and improves the
frame symmetry by giving the guest its own AnnotationSync setup
function, alongside its AnnotationUISync setup, that mirrors the
way its handled in the widget.

Previously, the `loadAnnotations` and `deleteAnnotations` events
were treated specially by AnnotationSync so that it didn't cause
endless loops. Instead, fully embrace the fact that the guest is
not responsible for loading or deleting annotations.

- Remove the setupAnnotation and deleteAnnotation methods, as they are
  no longer used.

- Factor out everything but the event publication of deleteAnnotation
  into a detach method that is the inverse of the anchor method.

- Subscribe to annotationsLoaded and annotationDeleted and invoke anchor
  and detach accordingly.

2193 of 3380 relevant lines covered (64.88%)

0.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7531.1 13 Aug 2015 01:05AM UTC 0
64.88
Travis Job 7531.1
Source Files on build 7531
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7531
  • 2cd34109 on github
  • Prev Build on master (#7530)
  • Next Build on master (#7532)
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