Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./src/charting_library/charting_library.min.js no-unused-expressions with react-javascript #60

Closed
v4n8877 opened this issue Oct 24, 2018 · 8 comments

Comments

@v4n8877
Copy link

v4n8877 commented Oct 24, 2018

Sorry, my english is bad,
I try with example but i got an issue when import {widget} from '../../../../../charting_library/charting_library.min'.
error.
How can i fix an issue
thanks

@machy44
Copy link

machy44 commented Oct 24, 2018

I have the same problem.

@kirchet
Copy link
Contributor

kirchet commented Oct 24, 2018

Try to do what is described here

@machy44
Copy link

machy44 commented Oct 26, 2018

@timocov timocov closed this as completed Oct 29, 2018
@AlokPundir
Copy link

Hi getting error : Unhandled Rejection (TypeError): t._innerWindow(...).widgetReady is not a function

(anonymous function)
src/charting_library/charting_library.min.js:232
229 | i.addEventListener("load", e, !1);
230 | })),
231 | this._innerWindowLoaded.then(function () {

232 | t._innerWindow().widgetReady(function () {
| ^ 233 | t._ready = !0;
234 | for (var e = 0, o = t._readyHandlers; e < o.length; e++) {
235 | var i = o[e];

@nomanabid123
Copy link

how did you fix this error

@nomanabid123
Copy link

src\charting_library\charting_library.esm.js
Line 77:7: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 88:5: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 123:5: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 190:5: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 300:5: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 302:5: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 309:11: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 357:7: Expected an assignment or function call and instead saw an expression no-unused-expressions
Line 465:1: Expected an assignment or function call and instead saw an expression no-unused-expressions

@timocov
Copy link
Contributor

timocov commented Dec 10, 2021

@nomanabid123 see #36 (comment)

@akshaynovostack
Copy link

mention /* eslint-disable */ at the top of the charting_library.esm.js before the function starts

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

No branches or pull requests

7 participants