Docs: remove compat references

This commit is contained in:
Timmy Willison 2016-01-14 12:22:45 -05:00
parent deb68280e5
commit 10c1254d15
3 changed files with 3 additions and 7 deletions

View File

@ -137,5 +137,3 @@ Click "Load with AMD" after loading the test page.
### Browser support ### 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. 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.

View File

@ -14,8 +14,8 @@ In the spirit of open source software development, jQuery always encourages comm
Environments in which to use jQuery 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. - [Browser support](https://jquery.com/browser-support/)
- 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. - jQuery also supports Node, browser extensions, and other non-browser environments.
What you need to build your own jQuery 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*: 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. The build process shows a message for each dependent module it excludes or includes.
##### AMD name ##### AMD name

View File

@ -589,7 +589,7 @@ QUnit.test( "jQuery('html')", function( assert ) {
assert.ok( s, "Creating a script" ); assert.ok( s, "Creating a script" );
assert.ok( !jQuery[ "foo" ], "Make sure the script wasn't executed prematurely" ); assert.ok( !jQuery[ "foo" ], "Make sure the script wasn't executed prematurely" );
jQuery( "body" ).append( "<script>jQuery.foo='test';</script>" ); 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 // Test multi-line HTML
div = jQuery( "<div>\r\nsome text\n<p>some p</p>\nmore text\r\n</div>" )[ 0 ]; div = jQuery( "<div>\r\nsome text\n<p>some p</p>\nmore text\r\n</div>" )[ 0 ];