aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-08-07 22:23:30 +0000
committerJohn Resig <jeresig@gmail.com>2007-08-07 22:23:30 +0000
commit560484fd8d17ce6cf0b0d5748ad55d3dcb19d44f (patch)
treecc280d701df68a4ebfc721c987b4cd431767ee39
parent6b0d3bb273f09910921ed84539de06c2e7ecd19b (diff)
downloadjquery-560484fd8d17ce6cf0b0d5748ad55d3dcb19d44f.tar.gz
jquery-560484fd8d17ce6cf0b0d5748ad55d3dcb19d44f.zip
Added a couple JSLint-caught fixes.
-rw-r--r--src/jquery/jquery.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index 440e20e98..07588baac 100644
--- a/src/jquery/jquery.js
+++ b/src/jquery/jquery.js
@@ -852,7 +852,7 @@ jQuery.fn = jQuery.prototype = {
* @cat DOM/Manipulation
*/
clone: function(deep) {
- deep = deep != undefined ? deep : true
+ deep = deep != undefined ? deep : true;
var $this = this.add(this.find("*"));
if (jQuery.browser.msie) {
// Need to remove events on the element and its descendants
@@ -938,7 +938,7 @@ jQuery.fn = jQuery.prototype = {
return this.pushStack(
jQuery.isFunction( t ) &&
jQuery.grep(this, function(el, index){
- return t.apply(el, [index])
+ return t.apply(el, [index]);
}) ||
jQuery.multiFilter(t,this) );
@@ -1904,7 +1904,7 @@ new function() {
// Check to see if the W3C box model is being used
jQuery.boxModel = !jQuery.browser.msie || document.compatMode == "CSS1Compat";
- jQuery.styleFloat = jQuery.browser.msie ? "styleFloat" : "cssFloat",
+ jQuery.styleFloat = jQuery.browser.msie ? "styleFloat" : "cssFloat";
jQuery.props = {
"for": "htmlFor",