georapbox/PubSub

View on GitHub

Showing 1 of 2 total issues

Function unsubscribe has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  unsubscribe(topic) {
    const topics = this._pubsub_topics;
    let tf = false;

    for (const prop in topics) {
Severity: Minor
Found in src/index.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language