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.

Zombie fails after upgrading jQuery from v1.11 to v1.12

See original GitHub issue
TypeError: j.getClientRects is not a function
    at k (http://code.jquery.com/jquery-1.12.2.min.js:3:26891)
    at Object.n.extend.pixelMarginRight (http://code.jquery.com/jquery-1.12.2.min.js:3:25936)
    at a.getComputedStyle.Sa (http://code.jquery.com/jquery-1.12.2.min.js:3:27544)
    at Function.n.extend.css (http://code.jquery.com/jquery-1.12.2.min.js:3:30957)
    at Object.n.cssHooks.(anonymous function).get (http://code.jquery.com/jquery-1.12.2.min.js:3:31155)
    at Function.n.extend.css (http://code.jquery.com/jquery-1.12.2.min.js:3:30929)
    at http://code.jquery.com/jquery-1.12.2.min.js:5:534
    at Y (http://code.jquery.com/jquery-1.12.2.min.js:3:4661)
    at n.fn.(anonymous function) [as width] (http://code.jquery.com/jquery-1.12.2.min.js:5:305)
    at HTMLDocument.<anonymous> (http://localhost:3000/support/assets/home.bundle.js?v=v0.0.9:3:2793)
    in http://localhost:3000/support/

The statement that fails in home.bundle.js since the jQuery upgrade is $.width in:

var el = $('#an_id');
var w = el.width();

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:18

github_iconTop GitHub Comments

4reactions
mdlavincommented, Oct 31, 2016

I recently got permission to merge changes and publish new fixes and I’m happy to help get issues with clear fixes resolved. Let me checkout the state of that PR and hopefully it’s straightforward to merge.

2reactions
fishcharliecommented, Aug 6, 2016

Any updates or solutions to this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to upgrade to the latest version of jQuery
Open that tab. On pages that require jQuery you will see this error message: "Uncaught ReferenceError: $ is not defined". That error should...
Read more >
TypeError: elem.getClientRects is not a function #2804 - GitHub
I ran into this issue after jquery@2.2.0 was installed during a unit test build: ... Zombie fails after upgrading jQuery from v1.11 to...
Read more >
jQuery Core 3.0 Upgrade Guide
We strongly recommend that you use this plugin as an upgrading tool, it will give specific advice about most of the major changes...
Read more >
TypeError After Upgrading jQuery - javascript - Stack Overflow
I just upgrade one of my project to the latest jQuery version and it stopped working. I was using jQuery v1.12.4 and it...
Read more >
How to Update jQuery Versions - jQuery Migrate Plugin Guide
Learn how to update ancient jQuery versions using the jQuery ... ran into a Godzilla-sized problem: going from jQuery v1.7.1 to v3.4.1 was ......
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