Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/jquery/jquery

jQuery JavaScript Library
https://github.com/jquery/jquery

Moved unload abort code so that the event is only bound if the xhr transport is used. Fixes #5280.

1d1d4fe112c49cbd704d880b27cc646f2bfe1737 authored about 14 years ago
Fixes #5812. =? will be detected even when it has been escaped during data serialization.

8c8bd3bf6ac982f98c1b89b0af74a1fd2d07e360 authored about 14 years ago
Fixes #5803. Reworked jsonp prefilter so that it sets the dataType as jsonp and recognizes requests with originalSettings having jsonp or jsonpCallback to be jsonp. Moved default jsonp option value into ajaxSettings. Attached the transport to "jsonp" which avoids unnecessary testing. Transport factory sets dataType back to json for proper data conversion.

62a1a1a8fa64f92f429a3f5b8ed2e0d1f6fc3d6c authored about 14 years ago
Make it so prefilters get access to the original settings.

0f28835ee91a8aec5f9de60be42b55b802c67928 authored about 14 years ago
Simplified cross-domain detection tests.

7bc538623077abb48d94b33ef8e389d1022b13af authored about 14 years ago
Fixes #5955. Option crossDomain now forces ajax to consider a request as cross-domain even when it is not. Useful for when servers issue redirects to cross-domain urls. Unit test added.

5a5f67800b048ae274e644547f4b8e03156ffa49 authored about 14 years ago
Make sure prefilters have been called and transport has been selected before sending any global event (in case the "global" option has been changed).

c55a76a23fdf8e9b22d9792a0f3a39051cc33993 authored about 14 years ago
Added a test for retrying a request on error using jQuery.ajax(this). Works as intended. Fixes #7461.

63487505c678152e59847e3ab7878ea5f2514dfa authored about 14 years ago
Fixes #7465. Reworked the regexp and associated test for cross-domain detection so that it now includes ports. Added cross-domain detection tests for protocol, hostname and port.

afefb4f3d28f47c0a93cc9dfddfcbadb595a8efb authored about 14 years ago
Fixes #7868. ResponseText is now properly propagated for error callbacks.

d515068ee807efef29b6c8406171be4725d7154f authored about 14 years ago
Fixes #7881. Setting contentType to false will prevent the Content-Type header from being sent. Unit test added.

69497c3fd7ff560be0e47b4c65076915cca756bc authored about 14 years ago
Added a simple cache for xhr objects in the xhr transport.

98c6c4b2b0afb2754883fc39c5626da3219e81e0 authored about 14 years ago
Added missing commas.

368f2441f64e95fe5dfda318709e795833470903 authored about 14 years ago
Renamed "complete" to "done" in order to avoid conflicts with jXHR.complete.

1ca82ccd9489f11d3a8fbdd8a32b4c164ffaf483 authored about 14 years ago
Fixed mixing of tabs & spaces to make JSLint happier.

47e4cc1a0f3f26cf86d485fd53066503c4272e6b authored about 14 years ago
Renamed src/transports to src/ajax (in case we need prefilters in the future and to avoid a separate prefilters directory).

c43b078c6911027fd4124d542446ad0098662f6a authored about 14 years ago
Cleaning up trailing whitespace again.

e56de77df90e50b9999a02e57241b1cf498b0fe4 authored about 14 years ago
Revert "Register as a CommonJS async module if in that kind of environment. Fixes #7102."

This reverts commit 6ffa730721a8ebcd128f3dc202706e46d9cfe249.

Conflicts:

src/core.js

ae6655bcb6d852b79df2ddc5545832c5d08936f4 authored about 14 years ago
Bug #7608 elem.runtimeStyle throws exception in Opera

8099cdce800d45109b961e3521fc0080e9a876c6 authored about 14 years ago
"then" renamed "complete" and new "then" method defined using "complete" and "fail" internally. The API is still symetrical (complete/fail), still promotes AOP but is also now Promise/A compliant. Changed unit tests and ajax module accordingly.

cbf591152c9f61381e552c9a15bb7c339f1451a9 authored about 14 years ago
Updating year to 2011.

4ab94a578ee7760c4e44bafa56139af82c40028b authored about 14 years ago
4321 jQuery('#') returns empty jquery object

5f52e61d74678786e2f40d4edbeb2396661bb9bc authored about 14 years ago
4321 returns empty jquery object

037d6bd5c33cea91974bbfeaaa30d26e9dc94d48 authored about 14 years ago
#7883 .delegate and .live should accept false as the fn arg, like bind

612a908514b6ad6ec35754b0193887b01ce2c9f2 authored about 14 years ago
When serializing text, encode all line breaks as CRLF pairs per the application/x-www-form-urlencoded specification. Fixes #6876.

eed3803c98bf5c074e40aad12f2e91435bf81154 authored about 14 years ago
Merge branch 'deferred' of github.com:jquery/jquery into deferred

Conflicts:
Rakefile
src/ajax.js

7e2810fa950f24055384e0b3be5b282183540c39 authored about 14 years ago
Simplified the way a Promise is tested for (removed promiseMarker). Removed isCancelled helper method from _Deferred, wasn't used nor tested. Reworked jQuery.Deferred and removed unnecessary variables. Also ensured a Promise will return itself when asked for a Promise. Finally, the jQuery.when tests have been revamped.

6fb9759a75bf2b9a2aa3a8fce9cd7afc011d8c4f authored about 14 years ago
Revised conversion logic to handle converter equal to true properly.

3c6f1380fa67542ff8c67d6363a865ae3ec23516 authored about 14 years ago
Introduced a new promise method on deferreds that returns an immutable object (exposing then, fail, isResolved, isRejected and promise itself only). Remove $.isDeferred and moved logic directly into $.when. Made sure $.when returns a promise by using promise(). Used promise() in ajax code too.

6dbffb8596a9c96c68386ecc2d95da25b9dee369 authored about 14 years ago
Renamed several ajaxSettings options. Removed cors test, fixed failing cors test.

6165cc45b7f673aa0d9daf33659a2783f68a45ac authored about 14 years ago
Revised logic in data conversion to account for when dataFilter modifies the dataTypes list.

2a5c16f217416a7cb5afce72a0f25c66d074fc0c authored about 14 years ago
Removed re-usability from jXHR object (no more open, send & onreadystatechange support). Streamlined the implementation and put it back into ajax.js (removed xhr.js in the process). Went back to a more simple & direct approach to options handling (keeping much room to further minification-related optimizations). Code is cleaner, smaller & faster. Removed & edited unit tests accordingly. All build files have had xhr.js removed.

981d1e08eb00f4b5c29ad1f3977a45e30c93ad70 authored about 14 years ago
Removed dataCheckers, added true as possible value for dataConverters indicating dataType equivalence (ie. no conversion has to be performed).

6f53be1839b10486c624e07595533d57c602eda5 authored about 14 years ago
Removed custom method in isDeferred and when.

240d8b681e222dcbc50192331ed7ba00b0e07e0e authored about 14 years ago
Deferred cannot be cancelled by returning false in a callback. Exception in the callback are still propagated and execution of remaining callbacks is still possible.

23d455b4469f2b47363c21867aad271d6930f112 authored about 14 years ago
Removed a console.log :/

fd63416ab191c9c757ba8ca155f2656fcc8ce000 authored about 14 years ago
Capitalized Deferred & _Deferred to clearly mark them as new types, like Event.

2d4001b82c6325ac6a767294e96a8af8f920f7cd authored about 14 years ago
Changed dataConverters key format.

22e28b01e60e87b2454f88ca128fb84916b13564 authored about 14 years ago
jQuery.parseXML extracted from ajax & added to core, needs unit testing.

524bf39400e12db84e6857988d431c2c8ca7b2fb authored about 14 years ago
Removed NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch's warning).

5bfbe7eaf6481cfda6f2c790fa070d58e1abc74d authored about 14 years ago
Rewrote the data conversion logic in ajax. Should be cleaner and faster.

d5bb001b9a3cbe0753d11f7c20cede83e9c2d775 authored about 14 years ago
Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementation and made prefilters use the same logic. Cleaned up code and removed as many loops and each as possible.

e29ebbc199ecf1d2c9f5b7de9113f34e818ffe11 authored about 14 years ago
Fixed a loop that only worked in webkit.

2fec5dbecd3dc6d2acfcb4df28d29638637ac579 authored about 14 years ago
Added deferred to core. Used internally for DOM readyness and ajax callbacks.

39d96ab8c55a044deccaff0ef8bc2c5813656368 authored about 14 years ago
Removed NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch's warning).

43828b7482d33e4ee96f482779b98528b7266ea2 authored about 14 years ago
Rewrote the data conversion logic in ajax. Should be cleaner and faster.

fef0f63526df8c4e186780c742fbcd717424581b authored about 14 years ago
Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementation and made prefilters use the same logic. Cleaned up code and removed as many loops and each as possible.

4c49c87d4daf7a5eb1b98a4d324ee599508cf1be authored about 14 years ago
Fixed a loop that only worked in webkit.

c072dbd4e283f2e601b0004920c46d2e6b62f899 authored about 14 years ago
Added deferred to core. Used internally for DOM readyness and ajax callbacks.

5bacb53866dbc3fbb36202a25c756a4ea2fd5965 authored about 14 years ago
Simplified the way a Promise is tested for (removed promiseMarker). Removed isCancelled helper method from _Deferred, wasn't used nor tested. Reworked jQuery.Deferred and removed unnecessary variables. Also ensured a Promise will return itself when asked for a Promise. Finally, the jQuery.when tests have been revamped.

7b1e873cd9656ab9184242cba708faecd5f46c3d authored about 14 years ago
Update Rakefile to remove module wrappers (feature parity with make and ant). Update Makefile to avoid rebuilding jquery.js when it is not necessary to do so.

c1625f6b79b2693ea85f2c16349f708ff203773b authored about 14 years ago
Remove patch for very early versions of Opera 9 that made it impossible to animate values smaller than -10000. Fixes #7193. Thanks to igorw for initial patch & test case.

4eeae8b0bc789ad525e98568cffb37b04b27ae84 authored about 14 years ago
Clean trailing whitespace from all files.

3e0cc815043c2425819743e907a0ce263a7ce164 authored about 14 years ago
Merge branch 'fix7762' into jquery master. Fixes #7762.

429b078dc7b5cf7765b44c8d32e125ecd8f1e2c9 authored about 14 years ago
Update CommonJS module registration to check to see if define is a function instead of just not undefined.

9029dc02a234ad9699513f81acd1423f9c2c4e30 authored about 14 years ago
Merge branch 'master' of github.com:jquery/jquery into deferred

64902e03450dc9164dbdb046a701008a249497c1 authored about 14 years ago
Fix for #7865. Scripts onload handler passes event as first parameter so statusText is now passed as second argument for aborts.

dfa57073069c6b60f623635df65e02c0c0c9a582 authored about 14 years ago
Revised conversion logic to handle converter equal to true properly.

7490eb4f8e1930ca370eec21b4d5469f87b65db6 authored about 14 years ago
By default, use document root rather than current selection's context when add()ing elements. Fixes #7853.

c27d5ca6f5b69818c48fdc9b0f988790653fb1a5 authored about 14 years ago
Introduced a new promise method on deferreds that returns an immutable object (exposing then, fail, isResolved, isRejected and promise itself only). Remove $.isDeferred and moved logic directly into $.when. Made sure $.when returns a promise by using promise(). Used promise() in ajax code too.

54d965ffa50fcc308721d370f952251d3da3e017 authored about 14 years ago
Renamed several ajaxSettings options. Removed cors test, fixed failing cors test.

8c9d32723a8943d4595eb5e04be8f891a8ff7a7f authored about 14 years ago
Merge branch 'master' of github.com:jquery/jquery into deferred

97b32d78307273f8bd2e5147bf5c0f0a45607a95 authored about 14 years ago
Don't cache non-html strings in buildFragment to avoid possible collision with the names of Object methods like toString. Also makes the unit tests 0.5% to 8% faster. Fixes #6779.

5fd21fc02bda43d4e31bcf2d5b55b918a9190a7f authored about 14 years ago
When a native browser event is bubbling up the DOM, make sure that the correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793.

64ee5581afd6e9667ad45e75f082c95e2725efa6 authored about 14 years ago
Register as a CommonJS async module if in that kind of environment. Fixes #7102.

6ffa730721a8ebcd128f3dc202706e46d9cfe249 authored about 14 years ago
Test for standard createEvent before IE-specific click method.

Don't fallback to fake click; let's see which browsers fail, if any.

b8931f744859e598aad52140d8ca085e013ac798 authored about 14 years ago
Merge SlexAxton/jquery:master into jquery/jquery:master.

01cba2ecaaedb5351f668bb09026db3e8bb69082 authored about 14 years ago
Changed the expando string to use a random number instead of the time, so collisions become less likely. Also added jQuery version to instantly differentiate separate versions of jQuery (a common use case for noConflict, etc, when two jQuery instances are on the page). Fixes #6842.

faabb2c31883deabaddd5642eb5e708b5802f2b0 authored about 14 years ago
DRY out $.get and $.post. Fixes #7847. Thanks to cowboy for the patch.

4443371dbaf751ce0d0d92e40f924e41fbd7b54c authored about 14 years ago
Removed unnecessary upper/lowercase, it's all just lowercase now (since $.ajax will uppercase as-needed).

78a6f5b152f40739769169c76726cead5cb7206b authored about 14 years ago
Clearing event handlers on unload is no longer necessary in any version of IE. This issue causing memory leaks between pages was fixed in MS07-033.

37d297c67fe3569a5a9d81586e14d4a887df7879 authored about 14 years ago
Fix whitespace in event.js

a939ade9c6d2b42be24031d902c86ec52847c0cc authored about 14 years ago
WETness getting you down? Fear not, the $.get and $.post methods are now 866% DRYer. This fixes #7847.

1830db422628d1556377621612b401bac5afa40e authored about 14 years ago
Fix reliableHiddenOffsets test was not working properly when table cells have borders, causing unnecessary slowness in some browsers. Thanks to matjas for his $.support test page.

52b1709b94cf631e0641eebfa4f76b101528d93b authored about 14 years ago
Revised logic in data conversion to account for when dataFilter modifies the dataTypes list.

85f0dda56289ed6c044dadb3a42b1a4d2ddb0891 authored about 14 years ago
Removed re-usability from jXHR object (no more open, send & onreadystatechange support). Streamlined the implementation and put it back into ajax.js (removed xhr.js in the process). Went back to a more simple & direct approach to options handling (keeping much room to further minification-related optimizations). Code is cleaner, smaller & faster. Removed & edited unit tests accordingly. All build files have had xhr.js removed.

f7ed2aca562620f9424b1667170352e798e99ef3 authored about 14 years ago
Removed dataCheckers, added true as possible value for dataConverters indicating dataType equivalence (ie. no conversion has to be performed).

00fb8a9ad61eb6d13e6f6c7c668caa66074f05d1 authored about 14 years ago
Removed custom method in isDeferred and when.

5237b09602d5e360da361823748b0f34861b5a9a authored about 14 years ago
Deferred cannot be cancelled by returning false in a callback. Exception in the callback are still propagated and execution of remaining callbacks is still possible.

846c52d1f8535a6283dcc42c6e8f0c26991936ad authored about 14 years ago
Removed a console.log :/

e3f3f1892747004f86111fe17a8ed2e50c5d989e authored about 14 years ago
Capitalized Deferred & _Deferred to clearly mark them as new types, like Event.

1e1a9c7eb055511dce74e4b5f807b93d5a76bbd6 authored about 14 years ago
Changed dataConverters key format.

d303687815581987f75f2e40e833022fc25c8741 authored about 14 years ago
jQuery.parseXML extracted from ajax & added to core, needs unit testing.

11642ba20c10ced6363d81d6e3a0239ac10dab27 authored about 14 years ago
Simplify the check for isDefaultPrevented.

c9e8a95709e12c6838a312850ce645e96a53ff5d authored about 14 years ago
Merge branch 'deferred' of github.com:jquery/jquery into deferred

8ece429d125785e36e468408f0dcb8c31f76da9e authored about 14 years ago
Removed NFE to make old Safari happy and avoid leaks in IE (as per David Murdoch's warning).

76102f4d8b56d88f8e37bec65d552d132703198d authored about 14 years ago
Rewrote the data conversion logic in ajax. Should be cleaner and faster.

38101be0484d79cb2d849ea252f508fe50bf72a3 authored about 14 years ago
Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementation and made prefilters use the same logic. Cleaned up code and removed as many loops and each as possible.

0daf7223d08e2da983179e37e6c422abe90d6b82 authored about 14 years ago
Fixed a loop that only worked in webkit.

56628c7adffb4b5436257255f55e31b85b58aa8f authored about 14 years ago
Added deferred to core. Used internally for DOM readyness and ajax callbacks.

116c82b027a03a7a5670fa580fa9af819cc1cc03 authored about 14 years ago
When a native browser event is bubbling up the DOM, make sure that the correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793.

0b6afcedd22aaffb96d3d45b9b220a16229e2f7c authored about 14 years ago
Fix fix for #6481 introduced at 7862c45ad2f32096383a21b8b301155787724476 which did not like it when Array.prototype was modified on empty arrays.

1f92edee207829a28de80ee72548cdbd599bcc79 authored about 14 years ago
Don't use for-in loops on Arrays. Fixes #7817. Thanks to dmethvin.

Conflicts:
src/manipulation.js

82ac384b494258e17e2856ee2259475ecb0174ca authored about 14 years ago
Update cloneCopyEvent so that it does not create superfluous data objects when cloning elements. Exposes a new method, $.hasData. Fixes #7165. Thanks to DaveMethvin and iliakan for their help.

f28c774f2cde004a33aefc28306d995c599d963b authored about 14 years ago
Code style fix

a2bf7ab3c002e921aa1d4c9be9d0f337dfd4143d authored about 14 years ago
More unit tests and a $.hasData that works for JS objects too.

e199ead4cba3687beca2444eea4bb8abc20f55b6 authored about 14 years ago
Update jQuery.hasData to always return a boolean, with unit tests.

f5d4bf8920868c2d1f88cc4f3bfcf85c0b566b2e authored about 14 years ago
Remove code for ticket #7717 which has been marked WONTFIX to match existing $.data functionality and to prevent infinite loops caused by circular references.

445fdf720ce26b99aadace85b7ec976f90583c3a authored about 14 years ago
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.

18fa1fd9da12fd6a259b422f91b663d9fbdb181e authored about 14 years ago
Fix a potential error in the previous commit caused by the use of a separate index variable. Thanks to dmethvin for the review.

2a47ceae5b9bdc45fdc890e3cd5ec01c82db1688 authored about 14 years ago