Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

jQuery under the Hood...

It would be nice to see what jQuery is doing under the hood. Is there a website where we can see the actual code jQuery is performing under the hood?

For example,

I understand how to use jQuery's $.get() function, but all we seem to be doing is plugging parameters into the function. For me personally, while I know how to use the function, I don't understand why it behaves the way it does.

It would be helpful to see the code that the developer created.

2 Answers

Steven Parker
Steven Parker
229,582 Points

You can download jQuery and examine it.

Just go to the jQuery download page and get the uncompressed developer version if you want to look it over.

It's a bit of a read, though — the current version (3.2.1) is slightly over 10,000 lines of code. :wink:

I was wondering. Thanks for your response :)