Skip to content
Permalink
Browse files
Docs: Fix typos
Closes gh-4686

(cherry picked from commit 1a7332c)
  • Loading branch information
pgrimaud authored and mgol committed Apr 29, 2020
1 parent 58a8e87 commit ea3766c08156541617ca3d15755a9ade8fdedcc0
Showing 2 changed files with 3 additions and 3 deletions.
@@ -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' />" ) );

0 comments on commit ea3766c

Please sign in to comment.