nonblocks[Symbol.iterator] is not a function #3

Open
opened 2018-10-09 15:58:19 -07:00 by ceremcem · 1 comment
ceremcem commented 2018-10-09 15:58:19 -07:00 (Migrated from github.com)

Description

I've added NonBlock.js by default in my framework and when I use Paper.js's paper.install(window), it starts producing the following error on mousemove:

NonBlock.es5.js:117 Uncaught TypeError: nonblocks[Symbol.iterator] is not a function
    at HTMLBodyElement.onmousemove (NonBlock.es5.js:117)

Please let me know if you need further information for chasing the issue.

Priority

As I don't have to use paper.install(window) line, the problem does not affect my current work, so it's low priority for me.

# Description I've added NonBlock.js by default in [my framework](https://github.com/aktos-io/scada.js/blob/5f2982e66bd8106062a02aaa7016422e33146726/lib/aea/defaults.ls#L14) and when I use `Paper.js`'s `paper.install(window)`, it starts producing the following error on mousemove: ``` NonBlock.es5.js:117 Uncaught TypeError: nonblocks[Symbol.iterator] is not a function at HTMLBodyElement.onmousemove (NonBlock.es5.js:117) ``` Please let me know if you need further information for chasing the issue. # Priority As I don't have to use `paper.install(window)` line, the problem does not affect my current work, so it's low priority for me.
hperrin commented 2026-04-01 17:29:10 -07:00 (Migrated from github.com)

That var comes from this line:

var nonblocks = document.querySelectorAll('.nonblock');

So that would mean you don't have any nonblocking elements.

That var comes from this line: ``` var nonblocks = document.querySelectorAll('.nonblock'); ``` So that would mean you don't have any nonblocking elements.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sciactive/nonblockjs#3
No description provided.