jeresig
bca5765502
Make sure that jQuery works even when the individual modules are loaded separately AND jQuery.noConflict(true) is used. Fixes #7011 .
2010-09-08 13:54:33 -04:00
jeresig
ca3b18ca53
Merge branch 'master' of github.com:jquery/jquery into csshooks
2010-09-08 13:47:56 -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
Karl Swedberg
116f3b7c72
added "#main" ancestor selector to an "Only Child" and "Last Child" test to fix broken tests caused by QUnit commit abfab1713ccb588aa87136b199a9ddc8d1b56c4b (Aug 29, 2010)
2010-09-07 08:53:06 -04:00
John Resig
b920f0aeb4
Broke more of the property-specific CSS logic out of the jQuery.css() function.
2010-09-05 11:01:27 -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
John Resig
2912f8ab95
Broke apart some of the browser-specific logic for CSS handling.
2010-09-05 00:04:37 -04:00
John Resig
426045cc74
Some more minor formatting tweaks.
2010-09-04 23:34:52 -04:00
John Resig
1970154c3b
Tweaking the formatting from the previous commit.
2010-09-04 23:28:17 -04:00
Brandon Aaron
65b24861bc
First look at css hooks. These hooks provide a way to change how jQuery handles getting and setting certain css properties. This means normalizing properties like background-position can easily be done via plugins.
...
They are similar in concept to the special event hooks. Return false from the hook to revert control back to jQuery's normal processes for getting and setting certain css properties.
2010-09-02 21:06:40 -05:00
John Resig
97cbd76695
Fix the order of the element test arguments.
2010-09-02 16:15:54 -04:00
John Resig
90a4abd511
Tweaked the name unit tests to specify the exact nodes from which to test against.
2010-09-02 15:13:10 -04:00
John Resig
d48db1f440
Remove cases of :contains() where quotes are used - not using quotes follows more closely with the CSS Selector recommendation.
2010-09-02 14:56:32 -04:00
Brandon Aaron
8d04ffec16
Add .width() and .height() unit test for empty sets. Fix .height() test that was masquerading as a .width() test. Made sure .width() and .height() tests were in-sync (testing the same things).
2010-09-01 11:05:35 -05:00
Brandon Aaron
a2e1051fb4
Increase max number of JSLint errors. This is necessary because we have several error messages that we choose to ignore.
2010-09-01 10:48:19 -05:00
John Resig
13f27fcd05
Switched to use 'in' for the setInterval/window check as it also skirts around the Safari 2 NodeList crasher. See the discussion in 94f35d0519
for more details.
2010-08-27 18:17:07 -04:00
John Resig
1ead20c2ed
Blackberry 4.6 is capable of finding elements that are no longer in the DOM via getElementById. It only appears to happen when the node has been inside of a cloned Document Fragment. Fixes #6963 .
2010-08-27 15:14:30 -04:00
John Resig
43fbe3b33a
Handle two more cases where comments were missing in the test case, in Blackberry 4.6.
2010-08-27 14:16:27 -04:00
John Resig
ea8b1584b1
Use the native isArray whenever possible. See perf test by jdalton here: http://jsperf.com/isarray-vs-other Fixes #6825 .
2010-08-27 13:15:48 -04:00
John Resig
7f18d29287
Simplify the logic in $.type, thanks to jdalton for the suggesiton in 5d2be7e299
.
2010-08-27 07:03:30 -07:00
John Resig
5d2be7e299
Added some tweaks to $.type to handle null and undefined. Added a bunch of unit tests as well.
2010-08-27 06:10:52 -07:00
John Resig
9ce1d09a0a
Blackberry 4.6 doesn't maintain comment nodes in the DOM, ignore them in our test cases.
2010-08-26 15:36:44 -04:00
John Resig
1e9d6e1255
Fixed mistake with tweaked iframe manipulation test.
2010-08-26 15:26:30 -04:00
John Resig
c5382ad7c1
Tweak some more jQuery set results in the manipulation tests. Also fixed the order of the expected test results.
2010-08-26 15:21:01 -04:00
John Resig
c0fe98f028
Tweak more element orders in the manipulation tests. Also differentiate between iframe test failing and the inability to access iframe internals (as in the case of Blackberry).
2010-08-26 14:57:23 -04:00
John Resig
3b76b58815
Tweaked manipulation test to ignore order of elements from selector (not important to the test).
2010-08-26 14:37:58 -04:00
John Resig
5673e4bc3a
Only attempt to use the IE technique for setting opacity if the filter property exists (otherwise fallback to the standards-compatible technique).
2010-08-26 12:51:37 -04:00
John Resig
dc060f08cd
Tweaked anchor test to work better on Blackberry 4.7.
2010-08-26 12:36:50 -04:00
John Resig
94f35d0519
Adding in a jQuery.type(obj) method (a simple map to using Object.prototype.toString.call). Fixes #3330 .
2010-08-25 09:57:34 -07:00
John Resig
18dad47489
Tweaked logic for working around Blackberry 4.7 makeArray(RegExp) issue. Fixes #6930 .
2010-08-25 09:27:30 -07:00
John Resig
cb40495b21
Make sure that missing attributes return undefined in Blackberry 4.7. Fixes #6938 .
2010-08-24 07:28:47 -07:00
John Resig
1bdcffba8e
Simplifying some of the .val() test code.
2010-08-23 14:23:13 -07:00
John Resig
392174431a
.val() on empty options returns the text value rather than the value in Blackberry 4.7. Fixes #6932 .
2010-08-23 14:10:39 -07:00
John Resig
396dd21273
Fixing getting/setting classes and makeArray(RegExp) for Blackberry 4.7. Fixes #6930 , #6931 .
2010-08-23 12:38:55 -07:00
jzaefferer
6f031c1015
Replace usage of the removed global reset() method with QUnit.reset().
2010-07-28 17:19:01 +02:00
John Resig
c4b4df4691
Make sure that .data() events don't bubble, per the discussion in 2e10af143b
. Fixes #6832 .
2010-07-27 13:45:32 -04:00
jzaefferer
646fbea561
Moving jQuery-core specific resets from QUnit to core.
2010-07-27 12:50:08 +02:00
Dave Reed
2084e01780
Fix for issues discussed in 9faab0b74f
. Goes towards fixing #6808 .
2010-07-23 11:25:31 -04:00
InfinitiesLoop
266facc08a
Ticket 6808. Updated per code review comments by jeresig
2010-07-23 03:52:02 +08:00
InfinitiesLoop
9faab0b74f
Ticket #6808 . Changes data() so on plain objects, it uses a function to contain the cache ID to avoid it being JSON serialized.
2010-07-23 03:52:01 +08:00
Richard D. Worth
ef9fb80cab
Fixed ant build to be more consistent with Makefile. Now has all same targets (see README.md) and
...
* generates an identical jquery.js to that of make
* generates a min file
* runs jslint.
* cleans more thoroughly
* can be passed a PREFIX property
2010-07-21 22:47:13 +08:00
Richard D. Worth
bb0f1a97fb
Whitespace (spaces to tabs)
2010-07-21 22:47:13 +08:00
Richard D. Worth
6803bf1fe5
Minor fix to Makefile so that 'make clean' doesn't fail when run immediately after 'make clean'
2010-07-21 22:47:13 +08:00
Richard D. Worth
4ec1b743a8
Simplified getting the commit date using git log --pretty. Fixed missing date in ant build.
2010-07-21 22:47:13 +08:00
InfinitiesLoop
2e10af143b
Ticket #6804 . Adds a changeData event.
2010-07-20 10:12:40 +08:00
adam j. sontag
a2bd8a53f3
.closest() should return a unique set of elements, not duplicates of the same ancestor. Fixes #6700
2010-06-21 14:18:06 -04:00
wycats
6a0942c9d5
Merge branch 'doug'
2010-06-19 22:29:55 -07:00
Douglas Neiner
cecd1d8735
Slight optmization on the Rakefile
2010-06-19 22:29:49 -07:00
Douglas Neiner
e61d7d12e2
Edits to README after Karl's review
2010-06-19 22:29:49 -07:00
Douglas Neiner
c2976e68ff
Minor changes to README
2010-06-19 22:29:49 -07:00