From 21aad10e6aa68610feee69062a1cad750497c83f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Tue, 13 Jul 2010 09:57:58 -0400 Subject: [PATCH] All: Define a local undefined variable inside the main closure. --- ui/jquery.effects.blind.js | 2 +- ui/jquery.effects.bounce.js | 2 +- ui/jquery.effects.clip.js | 2 +- ui/jquery.effects.core.js | 2 +- ui/jquery.effects.drop.js | 2 +- ui/jquery.effects.explode.js | 2 +- ui/jquery.effects.fade.js | 2 +- ui/jquery.effects.fold.js | 2 +- ui/jquery.effects.highlight.js | 2 +- ui/jquery.effects.pulsate.js | 2 +- ui/jquery.effects.scale.js | 2 +- ui/jquery.effects.shake.js | 2 +- ui/jquery.effects.slide.js | 2 +- ui/jquery.effects.transfer.js | 2 +- ui/jquery.ui.accordion.js | 2 +- ui/jquery.ui.autocomplete.js | 2 +- ui/jquery.ui.button.js | 2 +- ui/jquery.ui.core.js | 2 +- ui/jquery.ui.datepicker.js | 2 +- ui/jquery.ui.dialog.js | 2 +- ui/jquery.ui.draggable.js | 2 +- ui/jquery.ui.droppable.js | 2 +- ui/jquery.ui.mouse.js | 2 +- ui/jquery.ui.position.js | 2 +- ui/jquery.ui.progressbar.js | 2 +- ui/jquery.ui.resizable.js | 2 +- ui/jquery.ui.selectable.js | 2 +- ui/jquery.ui.slider.js | 2 +- ui/jquery.ui.sortable.js | 2 +- ui/jquery.ui.tabs.js | 2 +- ui/jquery.ui.widget.js | 2 +- 31 files changed, 31 insertions(+), 31 deletions(-) diff --git a/ui/jquery.effects.blind.js b/ui/jquery.effects.blind.js index 568718135..a81cc2449 100644 --- a/ui/jquery.effects.blind.js +++ b/ui/jquery.effects.blind.js @@ -10,7 +10,7 @@ * Depends: * jquery.effects.core.js */ -(function($) { +(function( $, undefined ) { $.effects.blind = function(o) { diff --git a/ui/jquery.effects.bounce.js b/ui/jquery.effects.bounce.js index a1fd5ec80..2d077f065 100644 --- a/ui/jquery.effects.bounce.js +++ b/ui/jquery.effects.bounce.js @@ -10,7 +10,7 @@ * Depends: * jquery.effects.core.js */ -(function($) { +(function( $, undefined ) { $.effects.bounce = function(o) { diff --git a/ui/jquery.effects.clip.js b/ui/jquery.effects.clip.js index 2a034dc3d..c15c4a8fc 100644 --- a/ui/jquery.effects.clip.js +++ b/ui/jquery.effects.clip.js @@ -10,7 +10,7 @@ * Depends: * jquery.effects.core.js */ -(function($) { +(function( $, undefined ) { $.effects.clip = function(o) { diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js index ff3ae6759..76d46865d 100644 --- a/ui/jquery.effects.core.js +++ b/ui/jquery.effects.core.js @@ -7,7 +7,7 @@ * * http://docs.jquery.com/UI/Effects/ */ -;jQuery.effects || (function($) { +;jQuery.effects || (function($, undefined) { $.effects = {}; diff --git a/ui/jquery.effects.drop.js b/ui/jquery.effects.drop.js index 707005e41..81021f332 100644 --- a/ui/jquery.effects.drop.js +++ b/ui/jquery.effects.drop.js @@ -10,7 +10,7 @@ * Depends: * jquery.effects.core.js */ -(function($) { +(function( $, undefined ) { $.effects.drop = function(o) { diff --git a/ui/jquery.effects.explode.js b/ui/jquery.effects.explode.js index 00bdd1d99..123b521da 100644 --- a/ui/jquery.effects.explode.js +++ b/ui/jquery.effects.explode.js @@ -10,7 +10,7 @@ * Depends: * jquery.effects.core.js */ -(function($) { +(function( $, undefined ) { $.effects.explode = function(o) { diff --git a/ui/jquery.effects.fade.js b/ui/jquery.effects.fade.js index b85550795..5a37553dc 100644 --- a/ui/jquery.effects.fade.js +++ b/ui/jquery.effects.fade.js @@ -10,7 +10,7 @@ * Depends: * jquery.effects.core.js */ -(function($) { +(function( $, undefined ) { $.effects.fade = function(o) { return this.queue(function() { diff --git a/ui/jquery.effects.fold.js b/ui/jquery.effects.fold.js index 341629baf..350ed77f8 100644 --- a/ui/jquery.effects.fold.js +++ b/ui/jquery.effects.fold.js @@ -10,7 +10,7 @@ * Depends: * jquery.effects.core.js */ -(function($) { +(function( $, undefined ) { $.effects.fold = function(o) { diff --git a/ui/jquery.effects.highlight.js b/ui/jquery.effects.highlight.js index 4ba62594f..79b61f18f 100644 --- a/ui/jquery.effects.highlight.js +++ b/ui/jquery.effects.highlight.js @@ -10,7 +10,7 @@ * Depends: * jquery.effects.core.js */ -(function($) { +(function( $, undefined ) { $.effects.highlight = function(o) { return this.queue(function() { diff --git a/ui/jquery.effects.pulsate.js b/ui/jquery.effects.pulsate.js index 2343766a6..50b458431 100644 --- a/ui/jquery.effects.pulsate.js +++ b/ui/jquery.effects.pulsate.js @@ -10,7 +10,7 @@ * Depends: * jquery.effects.core.js */ -(function($) { +(function( $, undefined ) { $.effects.pulsate = function(o) { return this.queue(function() { diff --git a/ui/jquery.effects.scale.js b/ui/jquery.effects.scale.js index c9416cb64..ca3d9facd 100644 --- a/ui/jquery.effects.scale.js +++ b/ui/jquery.effects.scale.js @@ -10,7 +10,7 @@ * Depends: * jquery.effects.core.js */ -(function($) { +(function( $, undefined ) { $.effects.puff = function(o) { return this.queue(function() { diff --git a/ui/jquery.effects.shake.js b/ui/jquery.effects.shake.js index 8ef8787ec..7b6904bfd 100644 --- a/ui/jquery.effects.shake.js +++ b/ui/jquery.effects.shake.js @@ -10,7 +10,7 @@ * Depends: * jquery.effects.core.js */ -(function($) { +(function( $, undefined ) { $.effects.shake = function(o) { diff --git a/ui/jquery.effects.slide.js b/ui/jquery.effects.slide.js index 34b0a1128..15e56ee81 100644 --- a/ui/jquery.effects.slide.js +++ b/ui/jquery.effects.slide.js @@ -10,7 +10,7 @@ * Depends: * jquery.effects.core.js */ -(function($) { +(function( $, undefined ) { $.effects.slide = function(o) { diff --git a/ui/jquery.effects.transfer.js b/ui/jquery.effects.transfer.js index a28a5ee17..7ec35ae94 100644 --- a/ui/jquery.effects.transfer.js +++ b/ui/jquery.effects.transfer.js @@ -10,7 +10,7 @@ * Depends: * jquery.effects.core.js */ -(function($) { +(function( $, undefined ) { $.effects.transfer = function(o) { return this.queue(function() { diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index 19d97d3ce..286df77a6 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -11,7 +11,7 @@ * jquery.ui.core.js * jquery.ui.widget.js */ -(function($) { +(function( $, undefined ) { $.widget("ui.accordion", { options: { diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 7ec8e1c35..9c7e7d2c6 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -12,7 +12,7 @@ * jquery.ui.widget.js * jquery.ui.position.js */ -(function( $ ) { +(function( $, undefined ) { $.widget( "ui.autocomplete", { options: { diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js index b6cd7da82..a1c8a0f83 100644 --- a/ui/jquery.ui.button.js +++ b/ui/jquery.ui.button.js @@ -11,7 +11,7 @@ * jquery.ui.core.js * jquery.ui.widget.js */ -(function( $ ) { +(function( $, undefined ) { var lastActive, baseClasses = "ui-button ui-widget ui-state-default ui-corner-all", diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js index 2828a8eeb..049853db3 100644 --- a/ui/jquery.ui.core.js +++ b/ui/jquery.ui.core.js @@ -7,7 +7,7 @@ * * http://docs.jquery.com/UI */ -(function($) { +(function( $, undefined ) { // prevent duplicate loading // this is only a problem because we proxy existing functions diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index f7528a66a..d5cd857d7 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -10,7 +10,7 @@ * Depends: * jquery.ui.core.js */ -(function($) { // hide the namespace +(function( $, undefined ) { $.extend($.ui, { datepicker: { version: "@VERSION" } }); diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index 4de6b35ed..5fb5f1007 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -16,7 +16,7 @@ * jquery.ui.position.js * jquery.ui.resizable.js */ -(function($) { +(function( $, undefined ) { var uiDialogClasses = 'ui-dialog ' + diff --git a/ui/jquery.ui.draggable.js b/ui/jquery.ui.draggable.js index 4d752b682..891e4dc27 100644 --- a/ui/jquery.ui.draggable.js +++ b/ui/jquery.ui.draggable.js @@ -12,7 +12,7 @@ * jquery.ui.mouse.js * jquery.ui.widget.js */ -(function($) { +(function( $, undefined ) { $.widget("ui.draggable", $.ui.mouse, { widgetEventPrefix: "drag", diff --git a/ui/jquery.ui.droppable.js b/ui/jquery.ui.droppable.js index 0460517a0..9bf4d37ec 100644 --- a/ui/jquery.ui.droppable.js +++ b/ui/jquery.ui.droppable.js @@ -13,7 +13,7 @@ * jquery.ui.mouse.js * jquery.ui.draggable.js */ -(function($) { +(function( $, undefined ) { $.widget("ui.droppable", { widgetEventPrefix: "drop", diff --git a/ui/jquery.ui.mouse.js b/ui/jquery.ui.mouse.js index 6a7d6d39f..5f6bec437 100644 --- a/ui/jquery.ui.mouse.js +++ b/ui/jquery.ui.mouse.js @@ -10,7 +10,7 @@ * Depends: * jquery.ui.widget.js */ -(function($) { +(function( $, undefined ) { $.widget("ui.mouse", { options: { diff --git a/ui/jquery.ui.position.js b/ui/jquery.ui.position.js index a5207486c..5a3d3d44c 100644 --- a/ui/jquery.ui.position.js +++ b/ui/jquery.ui.position.js @@ -7,7 +7,7 @@ * * http://docs.jquery.com/UI/Position */ -(function( $ ) { +(function( $, undefined ) { $.ui = $.ui || {}; diff --git a/ui/jquery.ui.progressbar.js b/ui/jquery.ui.progressbar.js index 9cbb71f74..b892c4aa8 100644 --- a/ui/jquery.ui.progressbar.js +++ b/ui/jquery.ui.progressbar.js @@ -11,7 +11,7 @@ * jquery.ui.core.js * jquery.ui.widget.js */ -(function( $ ) { +(function( $, undefined ) { $.widget( "ui.progressbar", { options: { diff --git a/ui/jquery.ui.resizable.js b/ui/jquery.ui.resizable.js index 817ae86a6..d5be499ed 100644 --- a/ui/jquery.ui.resizable.js +++ b/ui/jquery.ui.resizable.js @@ -12,7 +12,7 @@ * jquery.ui.mouse.js * jquery.ui.widget.js */ -(function($) { +(function( $, undefined ) { $.widget("ui.resizable", $.ui.mouse, { widgetEventPrefix: "resize", diff --git a/ui/jquery.ui.selectable.js b/ui/jquery.ui.selectable.js index 9af0b0e0e..18ea6a76b 100644 --- a/ui/jquery.ui.selectable.js +++ b/ui/jquery.ui.selectable.js @@ -12,7 +12,7 @@ * jquery.ui.mouse.js * jquery.ui.widget.js */ -(function($) { +(function( $, undefined ) { $.widget("ui.selectable", $.ui.mouse, { options: { diff --git a/ui/jquery.ui.slider.js b/ui/jquery.ui.slider.js index f328407f8..42388c0fa 100644 --- a/ui/jquery.ui.slider.js +++ b/ui/jquery.ui.slider.js @@ -12,7 +12,7 @@ * jquery.ui.mouse.js * jquery.ui.widget.js */ -(function( $ ) { +(function( $, undefined ) { // number of pages in a slider // (how many times can you page up/down to go through the whole range) diff --git a/ui/jquery.ui.sortable.js b/ui/jquery.ui.sortable.js index 86c7aed25..5eff92f22 100644 --- a/ui/jquery.ui.sortable.js +++ b/ui/jquery.ui.sortable.js @@ -12,7 +12,7 @@ * jquery.ui.mouse.js * jquery.ui.widget.js */ -(function($) { +(function( $, undefined ) { $.widget("ui.sortable", $.ui.mouse, { widgetEventPrefix: "sort", diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 5e7aff3fa..a80597dd2 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -11,7 +11,7 @@ * jquery.ui.core.js * jquery.ui.widget.js */ -(function($) { +(function( $, undefined ) { var tabId = 0, listId = 0; diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js index 078213c7d..1629527cd 100644 --- a/ui/jquery.ui.widget.js +++ b/ui/jquery.ui.widget.js @@ -7,7 +7,7 @@ * * http://docs.jquery.com/UI/Widget */ -(function( $ ) { +(function( $, undefined ) { var _remove = $.fn.remove;