question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't work with jquery-3.1.1

See original GitHub issue

I was not able to get this to work as is with jquery 3.1.1. I tracked the issue down to line 51: msobservers.initialize(this.selector, callback); In that call, this.selector is null. It seems selector has been deprecated: https://api.jquery.com/selector/

When I reworked the code to just pass selector and callback everything started working.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
pie6kcommented, Jan 9, 2017

umm… @dbezborodovrp I agree. Any ideas how to handle it when selector is not available?

I think api will need to be changed like $.initialize(selector, initializerFunc);

0reactions
pie6kcommented, Feb 8, 2017

Thanks for help! Merged.

Read more comments on GitHub >

github_iconTop Results From Across the Web

jQuery 3.1.1 Released!
The jQuery Migrate 3.0 plugin will help you to identify compatibility issues in your code. Please try out this new release and let...
Read more >
jQuery v3.1.1 - window load - Stack Overflow
I changed it to code below, but it does not work properly. The loader do not hide. Only after refreshing the page, it...
Read more >
jQuery is not defined: Common causes and a simple solution
What are the common causes of jQuery is not defined? · 1. Your CDN-hosted jQuery might be blocked · 2. Your CDN-hosted jQuery...
Read more >
jquery@3.1.1 - Snyk Vulnerability Database
jquery is a package that makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use...
Read more >
'jQuery' is undefined error in v3.1.1.00.09 — oracle-tech
I guess that means that you don't have the JQuery library in your workspace. ... I think so also. How do I get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found