Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
4dcbfc92
Commit
4dcbfc92
authored
Sep 18, 2006
by
Jörn Zaefferer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added test for feature #206
parent
51a07a6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
jquery.js
src/jquery/jquery.js
+6
-0
No files found.
src/jquery/jquery.js
View file @
4dcbfc92
...
@@ -667,6 +667,12 @@ jQuery.fn = jQuery.prototype = {
...
@@ -667,6 +667,12 @@ jQuery.fn = jQuery.prototype = {
* var result = $('#first').append('<b>buga</b>');
* var result = $('#first').append('<b>buga</b>');
* ok( result.text() == defaultText + 'buga', 'Check if text appending works' );
* 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
* @name append
* @type jQuery
* @type jQuery
* @param String html A string of HTML, that will be created on the fly and appended to the target.
* @param String html A string of HTML, that will be created on the fly and appended to the target.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment