git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51a07a6
)
Added test for feature #206
author
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Mon, 18 Sep 2006 12:58:17 +0000
(12:58 +0000)
committer
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Mon, 18 Sep 2006 12:58:17 +0000
(12:58 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
b0db099
..
5fd368a
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
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.