mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Docs: remove compat references
This commit is contained in:
parent
deb68280e5
commit
10c1254d15
@ -137,5 +137,3 @@ Click "Load with AMD" after loading the test page.
|
||||
### Browser support
|
||||
|
||||
Remember that jQuery supports multiple browsers and their versions; any contributed code must work in all of them. You can refer to the [browser support page](https://jquery.com/browser-support/) for the current list of supported browsers.
|
||||
|
||||
Note that browser support differs depending on whether you are targeting the `master` or `compat` branch.
|
||||
|
@ -14,8 +14,8 @@ In the spirit of open source software development, jQuery always encourages comm
|
||||
Environments in which to use jQuery
|
||||
--------------------------------------
|
||||
|
||||
- [Browser support](https://jquery.com/browser-support/) differs between the master branch and the compat branch. Specifically, the master branch does not support legacy browsers such as IE8. The jQuery team continues to provide support for legacy browsers on the compat branch. Use the latest compat release if support for those browsers is required. See [browser support](https://jquery.com/browser-support/) for more info.
|
||||
- To use jQuery in Node, browser extensions, and other non-browser environments, use only master branch releases given the name "jquery" rather than "jquery-compat". The compat branch does not support these environments.
|
||||
- [Browser support](https://jquery.com/browser-support/)
|
||||
- jQuery also supports Node, browser extensions, and other non-browser environments.
|
||||
|
||||
|
||||
What you need to build your own jQuery
|
||||
@ -103,8 +103,6 @@ As a special case, you may also replace Sizzle by using a special flag `grunt cu
|
||||
|
||||
*Note*: Excluding Sizzle will also exclude all jQuery selector extensions (such as `effects/animatedSelector` and `css/hiddenVisibleSelectors`).
|
||||
|
||||
*Note*: Removing Sizzle is not supported on the `compat` branch.
|
||||
|
||||
The build process shows a message for each dependent module it excludes or includes.
|
||||
|
||||
##### AMD name
|
||||
|
@ -589,7 +589,7 @@ QUnit.test( "jQuery('html')", function( assert ) {
|
||||
assert.ok( s, "Creating a script" );
|
||||
assert.ok( !jQuery[ "foo" ], "Make sure the script wasn't executed prematurely" );
|
||||
jQuery( "body" ).append( "<script>jQuery.foo='test';</script>" );
|
||||
assert.ok( jQuery[ "foo" ], "Executing a scripts contents in the right context" );
|
||||
assert.ok( jQuery[ "foo" ], "Executing a script's contents in the right context" );
|
||||
|
||||
// Test multi-line HTML
|
||||
div = jQuery( "<div>\r\nsome text\n<p>some p</p>\nmore text\r\n</div>" )[ 0 ];
|
||||
|
Loading…
Reference in New Issue
Block a user