Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added two quick semicolon fixes.
  • Loading branch information
jeresig committed Sep 2, 2006
1 parent 744c060 commit 69efa31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jquery/jquery.js
Expand Up @@ -280,7 +280,7 @@ jQuery.fn = jQuery.prototype = {
return num == undefined ?

// Return a 'clean' array
jQuery.map( this, function(a){ return a } ) :
jQuery.merge( this, [] ) :

// Return just the object
this[num];
Expand Down Expand Up @@ -1201,7 +1201,7 @@ jQuery.extend({

} 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) {
Expand Down

0 comments on commit 69efa31

Please sign in to comment.