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:
f368960
)
Added a fix for .append( Number )
author
John Resig
<jeresig@gmail.com>
Thu, 11 Jan 2007 18:44:53 +0000
(18:44 +0000)
committer
John Resig
<jeresig@gmail.com>
Thu, 11 Jan 2007 18:44:53 +0000
(18:44 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
d8fa3a6
..
70a16e6
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-1388,6
+1388,9
@@
jQuery.extend({
var arg = a[i];
if ( !arg ) continue;
+
+ if ( arg.constructor == Number )
+ arg = arg.toString();
// Convert html string into DOM nodes
if ( typeof arg == "string" ) {