Added test for feature #206
This commit is contained in:
parent
51a07a6a5f
commit
4dcbfc92c3
1 changed files with 6 additions and 0 deletions
6
src/jquery/jquery.js
vendored
6
src/jquery/jquery.js
vendored
|
@ -667,6 +667,12 @@ jQuery.fn = jQuery.prototype = {
|
|||
* var result = $('#first').append('<b>buga</b>');
|
||||
* ok( result.text() == defaultText + 'buga', 'Check if text appending works' );
|
||||
*
|
||||
* @test reset();
|
||||
* var expected = "Try them out: bla ";
|
||||
* $('#first').append(" ");
|
||||
* $('#first').append("bla ");
|
||||
* ok( expected == $('#first').text(), "Check for appending of spaces" );
|
||||
*
|
||||
* @name append
|
||||
* @type jQuery
|
||||
* @param String html A string of HTML, that will be created on the fly and appended to the target.
|
||||
|
|
Loading…
Reference in a new issue