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:
744c060
)
Added two quick semicolon fixes.
author
John Resig
<jeresig@gmail.com>
Sat, 2 Sep 2006 09:23:07 +0000
(09:23 +0000)
committer
John Resig
<jeresig@gmail.com>
Sat, 2 Sep 2006 09:23:07 +0000
(09:23 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
9daa400
..
fdb488e
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-280,7
+280,7
@@
jQuery.fn = jQuery.prototype = {
return num == undefined ?
// Return a 'clean' array
return num == undefined ?
// Return a 'clean' array
- jQuery.map( this, function(a){ return a } ) :
+ jQuery.merge( this, [] ) :
// Return just the object
this[num];
// Return just the object
this[num];
@@
-1201,7
+1201,7
@@
jQuery.extend({
} else if (elem.currentStyle) {
} else if (elem.currentStyle) {
- var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase()});
+ var newProp = prop.replace(/\-(\w)/g,function(m,c){return c.toUpperCase();});
ret = elem.currentStyle[prop] || elem.currentStyle[newProp];
} else if (document.defaultView && document.defaultView.getComputedStyle) {
ret = elem.currentStyle[prop] || elem.currentStyle[newProp];
} else if (document.defaultView && document.defaultView.getComputedStyle) {