Skip to content
Permalink
Browse files

Added two quick semicolon fixes.

  • Loading branch information
jeresig committed Sep 2, 2006
1 parent 744c060 commit 69efa31318238a1af5644da7aa5dc691dc33b376
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jquery/jquery.js
@@ -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];
@@ -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) {

0 comments on commit 69efa31

Please sign in to comment.
You can’t perform that action at this time.