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
Douglas Neiner
4e337f504e
Updated README file with updated information for the Rake addtions
...
Also changed the default Rake task to "all" instead of "jquery"
to parallel the Makefile.
2010-06-19 22:29:49 -07:00
Douglas Neiner
ab2537a7ec
Fixed spelling on QUnit pull message
2010-06-19 22:29:49 -07:00
Douglas Neiner
ad849eb5a4
Updated Rakefile to remove use of *nix specific commands
...
Only `sh` statements left are either 'java' or 'git' commands,
which should work on Windows, though I still need to test
2010-06-19 22:29:48 -07:00
Douglas Neiner
3e1ac2aaac
Updated Rakefile to mirror the functionality of the Makefile
...
The Rakefile now supports all the functionality of the Makefile
including only rebuilding files when dependent files change.
To see availible tasks, run:
rake -T
2010-06-19 22:29:48 -07:00
John Resig
ef8df7f55c
Expose jQuery.uuid (use with caution) and make sure the expando property is used in the events module.
2010-06-19 22:29:48 -07:00
jeresig
23699bc783
Removed extra semicolon leftover from recent tweaking.
2010-06-19 22:29:48 -07:00
jeresig
9568866aad
Mobile WebKit browsers don't support accessing the scroll position of the document/window.
2010-06-19 22:29:48 -07:00
jeresig
dc886a83f5
Need to expose the isLocal change globally as well.
2010-06-19 22:29:48 -07:00
jeresig
ac670f3954
Temporarily disable ajax tests when running in TestSwam.
2010-06-19 22:29:48 -07:00
jeresig
d54014ed91
Use custom events for testing unbind instead of the, potentially conflicting, error event.
2010-06-19 22:29:48 -07:00
jeresig
d4aff802da
Adjust isPlainObject test to run in an iframe.
2010-06-19 22:29:47 -07:00
jeresig
568db29c2b
Make sure the offset tests work without a built jQuery file.
2010-06-19 22:29:47 -07:00
jeresig
83a97f5c21
Update other remote test URLs as well.
2010-06-19 22:29:47 -07:00
jeresig
31cfe62ed4
Strip off filename and query string for JSONP Remote test.
2010-06-19 22:29:47 -07:00
jeresig
f502d118d1
Update the TestSwarm URL to point to the new jQuery swarm location.
2010-06-19 22:29:47 -07:00
jeresig
4e5e31f29e
Changed the order of the tests to run in the same order in which they're specified in the Makefile (fixed a dimensions test bug that popped up as a result).
2010-06-19 22:29:47 -07:00
jeresig
b64a51e136
Handle auto-running of the TestSwarm injection script in the test suite.
2010-06-19 22:29:47 -07:00
jeresig
b3ccf2f288
Made it so that you no longer need to build jQuery in order to run the test suite (but you'll still need a checkout of QUnit and Sizzle, at least).
2010-06-19 22:29:47 -07:00