Skip to content

Exclude TypeError output like: "Uncaught TypeError: jit.split is not … - #123

Open
coresh wants to merge 1 commit into
metajack:masterfrom
coresh:patch-1
Open

Exclude TypeError output like: "Uncaught TypeError: jit.split is not …#123
coresh wants to merge 1 commit into
metajack:masterfrom
coresh:patch-1

Conversation

@coresh

@coresh coresh commented Oct 13, 2016

Copy link
Copy Markdown

Force convert jit variable to string: to exclude TypeError like:

"Uncaught TypeError: jit.split is not a function"

jid.split("/")[0] -> jid.toString().split("/")[0]

…a function"

Force jit variable to string: to exclude TypeError like:
"Uncaught TypeError: jit.split is not a function"

jid.split("/")[0] -> jid.toString().split("/")[0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant