You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered this as I explored #83. In lines and lines of events, there is a check to see if jQuery is present by looking for $. I learned that the Chrome command-line API also defines a $ which causes $ to not be undefined when running from the console and the subsequent $(plotObj) to fail. I am aware of some other libraries that hijack the $. Would if( typeof jQuery !== undefined) be a more robust test? Or should $(plotObj) be wrapped in a try?
If nothing else, filing (and closing) this issue might help someone else in the future who might be trying to debug this problem.
The text was updated successfully, but these errors were encountered:
I discovered this as I explored #83. In lines and lines of
events
, there is a check to see ifjQuery
is present by looking for$
. I learned that the Chrome command-line API also defines a$
which causes$
to not beundefined
when running from the console and the subsequent$(plotObj)
to fail. I am aware of some other libraries that hijack the$
. Wouldif( typeof jQuery !== undefined)
be a more robust test? Or should$(plotObj)
be wrapped in atry
?If nothing else, filing (and closing) this issue might help someone else in the future who might be trying to debug this problem.
The text was updated successfully, but these errors were encountered: