• 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
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
test-util Loading commit data...
types Loading commit data...
.eslintrc Loading commit data...
karma.config.js Loading commit data...
tsconfig.json Loading commit data...