mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
parent
58a8e87979
commit
ea3766c081
@ -29,7 +29,7 @@ import $ from "jquery";
|
||||
|
||||
#### Browserify/Webpack
|
||||
|
||||
There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this...
|
||||
There are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documentation. In the script, including jQuery will usually look like this...
|
||||
|
||||
```js
|
||||
var $ = require( "jquery" );
|
||||
|
@ -214,12 +214,12 @@ function testAppend( valueObj, assert ) {
|
||||
|
||||
jQuery( "#qunit-fixture form" ).append( valueObj( "<input name='radiotest2' type='radio' checked = 'checked' />" ) );
|
||||
jQuery( "#qunit-fixture form input[name=radiotest2]" ).each( function() {
|
||||
assert.ok( jQuery( this ).is( ":checked" ), "Append alternately formated checked radio" );
|
||||
assert.ok( jQuery( this ).is( ":checked" ), "Append alternately formatted checked radio" );
|
||||
} ).remove();
|
||||
|
||||
jQuery( "#qunit-fixture form" ).append( valueObj( "<input name='radiotest3' type='radio' checked />" ) );
|
||||
jQuery( "#qunit-fixture form input[name=radiotest3]" ).each( function() {
|
||||
assert.ok( jQuery( this ).is( ":checked" ), "Append HTML5-formated checked radio" );
|
||||
assert.ok( jQuery( this ).is( ":checked" ), "Append HTML5-formatted checked radio" );
|
||||
} ).remove();
|
||||
|
||||
jQuery( "#qunit-fixture form" ).append( valueObj( "<input type='radio' checked='checked' name='radiotest4' />" ) );
|
||||
|
Loading…
Reference in New Issue
Block a user