Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
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
{{ message }}
JavaScript-Resource
jquery
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
jquery
src
dimensions.js
on
killphp
User selector
All users
Datepicker
All time
Commit history
Commits on Sep 7, 2015
Build: Update jscs and lint files
Show description for 10fdad7
markelog
committed
10fdad7
View commit details
Copy full SHA for 10fdad7
View code at this point
Browse repository at this point
Commits on Jul 17, 2014
Build: update grunt-jscs-checker and pass with the new rules
timmywil
committed
c869a1e
View commit details
Copy full SHA for c869a1e
View code at this point
Browse repository at this point
Commits on Jun 11, 2014
Support: clean up comments and Support notation
Show description for d837f11
dmethvin
committed
d837f11
View commit details
Copy full SHA for d837f11
View code at this point
Browse repository at this point
Commits on Sep 9, 2013
Apply consistent ordering in all modules. -38 bytes. Order modules like functions > jQuery.extend > jQuery.fn.extend.
timmywil
committed
99191a5
View commit details
Copy full SHA for 99191a5
View code at this point
Browse repository at this point
Break jQuery.access out into its own module to separate it from core; Adjust CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS…
Show description for 3b53b75
timmywil
committed
3b53b75
View commit details
Copy full SHA for 3b53b75
View code at this point
Browse repository at this point
Always return jQuery in modules that can be included separately
timmywil
committed
b534ee2
View commit details
Copy full SHA for b534ee2
View code at this point
Browse repository at this point
Commits on Aug 15, 2013
AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.
timmywil
committed
6318ae6
View commit details
Copy full SHA for 6318ae6
View code at this point
Browse repository at this point
Commits on Mar 13, 2013
Edited comments and minor adjustments. Fixes #13553. Closes gh-1195.
Michał Z. Gołębiowski
authored and
timmywil
committed
79992d7
View commit details
Copy full SHA for 79992d7
View code at this point
Browse repository at this point
Commits on Dec 11, 2012
Pass style declarations around for performance improvements and paving the way for the css array signature
Show description for a918dc8
mikesherov
committed
a918dc8
View commit details
Copy full SHA for a918dc8
View code at this point
Browse repository at this point
Commits on Aug 20, 2012
Fix #12283. Return null for dimension getters on non elements. Fix gh-900.
mikesherov
authored and
dmethvin
committed
ad04018
View commit details
Copy full SHA for ad04018
View code at this point
Browse repository at this point
Commits on Jul 10, 2012
Follow the style guide, lose 72 bytes! Closes gh-840.
mikesherov
authored and
dmethvin
committed
8f01b92
View commit details
Copy full SHA for 8f01b92
View code at this point
Browse repository at this point
Commits on Jun 6, 2012
Fixe dimensions tests. No core code changes. Supplements #11856
mikesherov
authored and
rwaldron
committed
4dcd7dd
View commit details
Copy full SHA for 4dcd7dd
View code at this point
Browse repository at this point
Commits on Jun 4, 2012
Strips IIFEs from modules; Always require built jQuery for tests.
rwaldron
committed
7c23b77
View commit details
Copy full SHA for 7c23b77
View code at this point
Browse repository at this point
Commits on May 31, 2012
Fix #11724, $(document).height() in Firefox 12. Closes gh-802.
Show description for ba70f8a
mikesherov
authored and
dmethvin
committed
ba70f8a
View commit details
Copy full SHA for ba70f8a
View code at this point
Browse repository at this point
Commits on May 25, 2012
Apply a GibsonTransform(-55) to the #10877 fix. Closes gh-788.
gibson042
authored and
dmethvin
committed
bc7231e
View commit details
Copy full SHA for bc7231e
View code at this point
Browse repository at this point
Commits on May 21, 2012
Fix #10877. Make outerWidth/Height a setter. Closes gh-783.
mikesherov
authored and
dmethvin
committed
e0151e5
View commit details
Copy full SHA for e0151e5
View code at this point
Browse repository at this point
Commits on May 14, 2012
Fix #6724, though the Mobile Safari wound remains. Closes gh-764.
farmdawgnation
authored and
dmethvin
committed
ca48d49
View commit details
Copy full SHA for ca48d49
View code at this point
Browse repository at this point
Commits on Apr 10, 2012
Fix 11004. getWH() box-sizing:border-box includes padding and border.
mikesherov
authored and
dmethvin
committed
d7217cc
View commit details
Copy full SHA for d7217cc
View code at this point
Browse repository at this point
Commits on Apr 6, 2012
Speed up .css() by eliminating the middleman.
mikesherov
authored and
dmethvin
committed
91a6d9d
View commit details
Copy full SHA for 91a6d9d
View code at this point
Browse repository at this point
Commits on Mar 2, 2012
Fix #3838, $(document).height() incorrect in IE6
Show description for 5cae50e
mikesherov
authored and
dmethvin
committed
5cae50e
View commit details
Copy full SHA for 5cae50e
View code at this point
Browse repository at this point
Commits on Feb 24, 2012
Fix #7986. $.support.boxModel shan't be fooled by page-level CSS.
mikesherov
authored and
dmethvin
committed
a52391a
View commit details
Copy full SHA for a52391a
View code at this point
Browse repository at this point
Commits on Dec 6, 2011
Fix #5571. Setters should treat `undefined` as a no-op and be chainable.
gibson042
authored and
dmethvin
committed
6c2a501
View commit details
Copy full SHA for 6c2a501
View code at this point
Browse repository at this point
Commits on Oct 12, 2011
Fix #10478. Replace jQuery.isNaN with jQuery.isNumeric.
Show description for 83c08ff
dmethvin
committed
83c08ff
View commit details
Copy full SHA for 83c08ff
View code at this point
Browse repository at this point
Commits on Sep 30, 2011
Add support for calling outer/inner Width/Height on the window and document. Fixes #9434.
timmywil
committed
1ebced1
View commit details
Copy full SHA for 1ebced1
View code at this point
Browse repository at this point
Commits on Aug 2, 2011
Make sure body is defined before attempting to use its properties. This check prevents an error from occurring when the width() or height() methods are called before the body is defined in browsers…
Show description for c8cc1b3
scottjehl
committed
c8cc1b3
View commit details
Copy full SHA for c8cc1b3
View code at this point
Browse repository at this point
Commits on Jun 7, 2011
Optimize width/height retrieval (moved logic to getWH, removed adjustWH). Supplements #9441, #9300.
timmywil
committed
75203de
View commit details
Copy full SHA for 75203de
View code at this point
Browse repository at this point
Commits on May 25, 2011
Move window/document test to dimensions for consistency
timmywil
committed
bdce86d
View commit details
Copy full SHA for bdce86d
View code at this point
Browse repository at this point
Return null for outer/inner width/height calls on window/document. Fixes #7557.
timmywil
committed
edb2286
View commit details
Copy full SHA for edb2286
View code at this point
Browse repository at this point
Commits on Jan 19, 2011
Revised the Nokia support fallback. It turns out that Nokia supports the documentElement property but does not define document.compatMode. Adding this third fallback allows Nokia to run jQuery erro…
Show description for 2b64b1d
scottjehl
committed
2b64b1d
View commit details
Copy full SHA for 2b64b1d
View code at this point
Browse repository at this point
Commits on Jan 13, 2011
set name to lowercase, since it's passed as initial caps
scottjehl
committed
73d060b
View commit details
Copy full SHA for 73d060b
View code at this point
Browse repository at this point
Merge branch 'master' of https://github.com/jquery/jquery
scottjehl
committed
610ab13
View commit details
Copy full SHA for 610ab13
View code at this point
Browse repository at this point
Commits on Dec 30, 2010
Clean trailing whitespace from all files.
csnover
committed
3e0cc81
View commit details
Copy full SHA for 3e0cc81
View code at this point
Browse repository at this point
Commits on Dec 22, 2010
Getting window dimensions currently fails in Nokia browsers, causing JS error (and consequently making jQuery Mobile fail to render the page). Based on a tip from Ben Nolan, this fix returns window…
Show description for 18fa1fd
scottjehl
committed
18fa1fd
View commit details
Copy full SHA for 18fa1fd
View code at this point
Browse repository at this point
Commits on Nov 9, 2010
Make sure that when multiple variables are being declared that assignments are each done on their own line.
jeresig
committed
fb48ae8
View commit details
Copy full SHA for fb48ae8
View code at this point
Browse repository at this point
Commits on Oct 22, 2010
Make sure that .width()/.height() don't return NaN also standardize on returning instead of auto for default values (which is what we do elsewhere in .css() as well). Fixes #7225.
jeresig
committed
53396b8
View commit details
Copy full SHA for 53396b8
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.