Skip to content
Permalink
Browse files

Added test for feature #206

  • Loading branch information
jzaefferer committed Sep 18, 2006
1 parent 51a07a6 commit 4dcbfc92c391983059b920d2a500c1246869f4c7
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/jquery/jquery.js
@@ -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.

0 comments on commit 4dcbfc9

Please sign in to comment.
You can’t perform that action at this time.