atom-community / atom-community/atom-script

Uncaught TypeError: message.text is not a function

Open
#1,858 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

[Enter steps to reproduce:]

1. ...
2. ...

**Atom**: 1.36.0 x64
**Electron**: 2.0.18
**OS**: Mac OS X 10.14.4
**Thrown From**: [script](https://github.com/rgbkrk/atom-script) package 3.18.1

### Stack Trace

Uncaught TypeError: message.text is not a function

```
At /Users/hongchonghao/.atom/packages/script/lib/script-view.js:48

TypeError: message.text is not a function
at ScriptView.showInTab (/packages/script/lib/script-view.js:48:62)
at HTMLDivElement.dispatch (/packages/pdf-view/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLDivElement.elemData.handle (/packages/pdf-view/node_modules/jquery/dist/jquery.js:4121:28)
```

### Commands

```
-0:19 script:run (input.hidden-input)
-0:17.5.0 editor:newline (input.hidden-input)
```

### Non-Core Packages

```
japanese-menu 1.14.0
language-latex 1.2.0
latex 0.50.2
latexer 0.3.0
pdf-view 0.71.0
script 3.18.1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.