• Robert Knight's avatar
    Rewrite the `AnnotationSync` class in the annotator · 9ff3954d
    Robert Knight authored
    The `AnnotationSync` class was an ES5-style class that had a ton of
    ES5-isms, odd constructions probably resulting from a historical
    conversion from CoffeeScript and unnecessary abstractions. It was also
    lacking in documentation.
    
    This commit rewrites the class using modern syntax and removing unused
    code and unnecessary abstractions (eg. the `_eventListeners` and
    `_channelListeners` properties).
    
    The API and behavior should be unchanged. An additional test was added
    for the `sync` method.
    9ff3954d
Name
Last commit
Last update
..
integration Loading commit data...
adder-test.js Loading commit data...
annotation-counts-test.js Loading commit data...
annotation-sync-test.js Loading commit data...
delegator-test.js Loading commit data...
empty.html Loading commit data...
features-test.js Loading commit data...
guest-test.js Loading commit data...
highlighter-test.js Loading commit data...
host-test.js Loading commit data...
pdf-sidebar-test.js Loading commit data...
range-util-test.js Loading commit data...
selections-test.js Loading commit data...
sidebar-test.js Loading commit data...
sidebar-trigger-test.js Loading commit data...
toolbar-test.js Loading commit data...