Skip to content

Errors out causing site to not load if PUBNUB is not defined #6

@timjrobinson

Description

@timjrobinson

When PubNub is not loaded this script dies on line 26:

for (k in PUBNUB) {

with error "PUBNUB is not defined"

This shouldn't happen in production but during local dev I'm sometimes not connected to the internet and so pubnub is not initialized and this script breaks causing the whole site to not load.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions