Oleg Gaidarenko
|
20ddbe4f59
|
Build: Update jscs and lint files
Ref 10fdad742a
Fixes gh-2056
|
2015-09-07 20:14:50 +03:00 |
|
Michał Gołębiowski
|
90d7cc1d8b
|
Misc: Drop support for older browsers; update support comments
That includes IE<8, Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.
Fixes gh-1836
Fixes gh-1701
Refs gh-1815
Refs gh-1820
|
2014-12-08 21:12:33 +01:00 |
|
Timmy Willison
|
91e06e9aeb
|
Build: update grunt-jscs-checker and pass with the new rules
Conflicts:
build/tasks/build.js
src/ajax/xhr.js
src/attributes/classes.js
src/attributes/prop.js
src/attributes/val.js
src/core/init.js
src/core/ready.js
src/css.js
src/css/curCSS.js
src/css/defaultDisplay.js
src/data.js
src/data/var/dataPriv.js
src/data/var/dataUser.js
src/dimensions.js
src/effects.js
src/event.js
src/manipulation.js
src/offset.js
src/queue.js
src/selector-native.js
test/data/testrunner.js
|
2014-07-17 11:08:37 -07:00 |
|
Timmy Willison
|
49cfcb9f3e
|
Apply consistent ordering in all modules. -219 bytes. Order modules like functions > jQuery.extend > jQuery.fn.extend.
|
2013-09-09 12:22:37 -04:00 |
|
Timmy Willison
|
2063d6c189
|
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+AMD syntax.
Conflicts:
src/core.js
src/css.js
src/data.js
src/effects.js
src/event.js
src/manipulation.js
src/traversing.js
|
2013-09-09 12:04:03 -04:00 |
|
Timmy Willison
|
3c717d2e6a
|
Always return jQuery in modules that can be included separately
Conflicts:
src/attributes.js
src/data.js
src/manipulation.js
|
2013-09-08 21:30:48 -04:00 |
|
Timmy Willison
|
217cbb7109
|
AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.
Conflicts:
Gruntfile.js
README.md
src/ajax.js
src/ajax/xhr.js
src/attributes.js
src/core.js
src/css.js
src/data.js
src/effects.js
src/event.js
src/manipulation.js
src/offset.js
src/selector-native.js
src/traversing.js
test/unit/core.js
test/unit/data.js
|
2013-08-15 15:49:49 -04:00 |
|
Mike Sherov
|
a918dc8aac
|
Pass style declarations around for performance improvements and paving the way for the css array signature
Also, simplify the jQuery.css numeric coercion signature
|
2012-12-11 13:58:14 -05:00 |
|
Mike Sherov
|
ad040181dc
|
Fix #12283. Return null for dimension getters on non elements. Fix gh-900.
|
2012-08-19 22:58:05 -04:00 |
|
Mike Sherov
|
8f01b92b8f
|
Follow the style guide, lose 72 bytes! Closes gh-840.
|
2012-07-09 21:39:22 -04:00 |
|
Mike Sherov
|
4dcd7dd324
|
Fixe dimensions tests. No core code changes. Supplements #11856
|
2012-06-06 17:06:03 -04:00 |
|
Rick Waldron
|
7c23b77af2
|
Strips IIFEs from modules; Always require built jQuery for tests.
|
2012-06-04 12:48:18 -04:00 |
|
Mike Sherov
|
ba70f8aeb6
|
Fix #11724, $(document).height() in Firefox 12. Closes gh-802.
This reopens #3838 for IE6 which is a regression on a fix in 1.7.2, but we'd rather break a really old IE than a really recent Firefox.
|
2012-05-31 09:24:44 -07:00 |
|
Richard Gibson
|
bc7231e323
|
Apply a GibsonTransform(-55) to the #10877 fix. Closes gh-788.
|
2012-05-24 21:54:04 -04:00 |
|
Mike Sherov
|
e0151e5827
|
Fix #10877. Make outerWidth/Height a setter. Closes gh-783.
|
2012-05-21 13:44:19 -04:00 |
|
Matt Farmer
|
ca48d49040
|
Fix #6724, though the Mobile Safari wound remains. Closes gh-764.
|
2012-05-14 14:22:51 -04:00 |
|
Mike Sherov
|
d7217cc29c
|
Fix 11004. getWH() box-sizing:border-box includes padding and border.
|
2012-04-10 17:26:52 -04:00 |
|
Mike Sherov
|
91a6d9dafc
|
Speed up .css() by eliminating the middleman.
|
2012-04-05 21:42:23 -04:00 |
|
Mike Sherov
|
5cae50e66e
|
Fix #3838, $(document).height() incorrect in IE6
May still be broken in Netscape Navigator 4.
|
2012-03-02 11:45:30 -05:00 |
|
Mike Sherov
|
a52391aa1d
|
Fix #7986. $.support.boxModel shan't be fooled by page-level CSS.
|
2012-02-24 00:14:15 -05:00 |
|
Richard Gibson
|
6c2a501de4
|
Fix #5571. Setters should treat undefined as a no-op and be chainable.
|
2011-12-06 15:25:38 -05:00 |
|
Dave Methvin
|
83c08ffa1f
|
Fix #10478. Replace jQuery.isNaN with jQuery.isNumeric.
Thanks to Christian C. Salvadó for the unit tests!
|
2011-10-11 21:04:22 -04:00 |
|
timmywil
|
1ebced1736
|
Add support for calling outer/inner Width/Height on the window and document. Fixes #9434.
|
2011-09-30 17:50:48 -04:00 |
|
scottjehl
|
c8cc1b35e4
|
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 that return false on the first condition and proceed on to the second. For example, simply calling $( window ).width() from a script in the HEAD will throw an error in Nokia webkit browsers without this check in place.
|
2011-08-02 18:38:35 -04:00 |
|
timmywil
|
75203de743
|
Optimize width/height retrieval (moved logic to getWH, removed adjustWH). Supplements #9441, #9300.
|
2011-06-06 23:35:16 -04:00 |
|
timmywil
|
bdce86dc2e
|
Move window/document test to dimensions for consistency
|
2011-05-25 19:59:29 -04:00 |
|
timmywil
|
edb2286544
|
Return null for outer/inner width/height calls on window/document. Fixes #7557.
|
2011-05-25 19:49:50 -04:00 |
|
scottjehl
|
2b64b1db68
|
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 error-free and return proper values for window width and height.
|
2011-01-19 12:40:32 -05:00 |
|
scottjehl
|
73d060b522
|
set name to lowercase, since it's passed as initial caps
|
2011-01-13 14:20:00 -05:00 |
|
scottjehl
|
610ab137da
|
Merge branch 'master' of https://github.com/jquery/jquery
|
2011-01-13 14:14:04 -05:00 |
|
Colin Snover
|
3e0cc81504
|
Clean trailing whitespace from all files.
|
2010-12-30 00:34:48 -06:00 |
|
scottjehl
|
18fa1fd9da
|
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.screen[width|height] if the other attempts at getting window dimensions fail. On mobile at least, it seems to make sense, and on desktop (assuming this issue would ever show up on desktop), this might be better than returning false or undefined.
|
2010-12-22 15:24:07 -05:00 |
|
John Resig
|
fb48ae8e6c
|
Make sure that when multiple variables are being declared that assignments are each done on their own line.
|
2010-11-09 11:09:07 -05:00 |
|
jeresig
|
53396b879b
|
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.
|
2010-10-22 02:39:06 -04:00 |
|
jeresig
|
c8dd49f756
|
Unify the means of detecting a window across the library. Fixes jQuery UI bug #5438 and jQuery bugs #6575 and 6088.
|
2010-09-22 16:41:51 -04:00 |
|
John Resig
|
2d70dc9c43
|
Derp, had parseInt on the brain. Thanks karbassi in 6541eb9d80 .
|
2010-09-17 17:02:03 -04:00 |
|
John Resig
|
6541eb9d80
|
Cleaning up some un-needed CSS code and adding back a temporary (deprecated) curCSS method.
|
2010-09-17 14:41:28 -04:00 |
|
jeresig
|
37b607d281
|
Split apart jQuery.css into jQuery.css (computed values) and jQuery.style (currently set values).
|
2010-09-16 10:00:56 -04:00 |
|
jeresig
|
cb3a9c14f1
|
Make sure that height/width methods return numbers instead of strings.
|
2010-09-09 16:33:05 -04:00 |
|
jeresig
|
a44ec40277
|
Make sure that jQuery works even when the individual modules are loaded separately AND jQuery.noConflict(true) is used. Fixes #7011.
|
2010-09-08 12:00:29 -04:00 |
|
John Resig
|
920099b29c
|
First pass at unifying the various CSS methods in jQuery (jQuery.style, jQuery.curCSS, and jQuery.css are now all under jQuery.css).
|
2010-09-05 10:17:18 -04:00 |
|
jeresig
|
4f9aa62a85
|
Added in .height(fn) and .width(fn) support. Fixes #5915.
|
2010-01-23 20:49:59 -05:00 |
|
jeresig
|
61e37d4149
|
Made a number of spacing changes to bring the code more-inline with the jQuery Core Style Guideline.
|
2009-12-21 19:58:13 -05:00 |
|
John Resig
|
a5f8a14411
|
Make sure that calling .width(num) or .height(num) on an empty set returns the empty set. Fixes #5600.
|
2009-12-09 21:58:29 -08:00 |
|
Karl Swedberg
|
ddb86f8d5b
|
added curly braces around all if/else statements
|
2009-11-28 04:09:14 +08:00 |
|
John Resig
|
9d46c0ebb4
|
Switching to use a better check for if the node is a document.
|
2009-07-18 19:44:15 +00:00 |
|
Brandon Aaron
|
2adb9b2a0f
|
width, height, scrollLeft, and scrollTop now work with windows and documents other than just the one it was loaded in (like iframes and popups)
|
2009-04-22 00:55:44 +00:00 |
|
Brandon Aaron
|
f8ef75eb91
|
remove trailing spaces
|
2009-03-23 01:55:17 +00:00 |
|
Brandon Aaron
|
a974b255c3
|
fix for #4399, removing unused variables
|
2009-03-22 04:24:40 +00:00 |
|
Ariel Flesler
|
2d4755a0fb
|
jquery dimensions: removed redundant code
|
2009-03-06 04:23:44 +00:00 |
|