RHeactorJS/web-app

View on GitHub
js/util/live-collection.js

Summary

Maintainability
A
1 hr
Test Coverage

Function handleEvent has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  handleEvent (name, eventCreatedAt, event) {
    return Promise.map(this.items, (item) => {
      if (
        event[item.$context.toString()] &&
        event[item.$context.toString()].$context.toString() === item.$context.toString() &&
Severity: Minor
Found in js/util/live-collection.js - About 1 hr to fix

    TODO found
    Open

            event[item.$context.toString()].$version > item.$version // TODO: check if this is a good decision
    Severity: Minor
    Found in js/util/live-collection.js by fixme

    There are no issues that match your filters.

    Category
    Status