Skip to content

Commit 21aad10

Browse files
committed
All: Define a local undefined variable inside the main closure.
1 parent ba387ce commit 21aad10

31 files changed

+31
-31
lines changed

ui/jquery.effects.blind.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.effects.core.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.effects.blind = function(o) {
1616

ui/jquery.effects.bounce.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.effects.core.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.effects.bounce = function(o) {
1616

ui/jquery.effects.clip.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.effects.core.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.effects.clip = function(o) {
1616

ui/jquery.effects.core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* http://docs.jquery.com/UI/Effects/
99
*/
10-
;jQuery.effects || (function($) {
10+
;jQuery.effects || (function($, undefined) {
1111

1212
$.effects = {};
1313

ui/jquery.effects.drop.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.effects.core.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.effects.drop = function(o) {
1616

ui/jquery.effects.explode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.effects.core.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.effects.explode = function(o) {
1616

ui/jquery.effects.fade.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.effects.core.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.effects.fade = function(o) {
1616
return this.queue(function() {

ui/jquery.effects.fold.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.effects.core.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.effects.fold = function(o) {
1616

ui/jquery.effects.highlight.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.effects.core.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.effects.highlight = function(o) {
1616
return this.queue(function() {

ui/jquery.effects.pulsate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.effects.core.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.effects.pulsate = function(o) {
1616
return this.queue(function() {

ui/jquery.effects.scale.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.effects.core.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.effects.puff = function(o) {
1616
return this.queue(function() {

ui/jquery.effects.shake.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.effects.core.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.effects.shake = function(o) {
1616

ui/jquery.effects.slide.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.effects.core.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.effects.slide = function(o) {
1616

ui/jquery.effects.transfer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.effects.core.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.effects.transfer = function(o) {
1616
return this.queue(function() {

ui/jquery.ui.accordion.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* jquery.ui.core.js
1212
* jquery.ui.widget.js
1313
*/
14-
(function($) {
14+
(function( $, undefined ) {
1515

1616
$.widget("ui.accordion", {
1717
options: {

ui/jquery.ui.autocomplete.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* jquery.ui.widget.js
1313
* jquery.ui.position.js
1414
*/
15-
(function( $ ) {
15+
(function( $, undefined ) {
1616

1717
$.widget( "ui.autocomplete", {
1818
options: {

ui/jquery.ui.button.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* jquery.ui.core.js
1212
* jquery.ui.widget.js
1313
*/
14-
(function( $ ) {
14+
(function( $, undefined ) {
1515

1616
var lastActive,
1717
baseClasses = "ui-button ui-widget ui-state-default ui-corner-all",

ui/jquery.ui.core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* http://docs.jquery.com/UI
99
*/
10-
(function($) {
10+
(function( $, undefined ) {
1111

1212
// prevent duplicate loading
1313
// this is only a problem because we proxy existing functions

ui/jquery.ui.datepicker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.ui.core.js
1212
*/
13-
(function($) { // hide the namespace
13+
(function( $, undefined ) {
1414

1515
$.extend($.ui, { datepicker: { version: "@VERSION" } });
1616

ui/jquery.ui.dialog.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* jquery.ui.position.js
1717
* jquery.ui.resizable.js
1818
*/
19-
(function($) {
19+
(function( $, undefined ) {
2020

2121
var uiDialogClasses =
2222
'ui-dialog ' +

ui/jquery.ui.draggable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* jquery.ui.mouse.js
1313
* jquery.ui.widget.js
1414
*/
15-
(function($) {
15+
(function( $, undefined ) {
1616

1717
$.widget("ui.draggable", $.ui.mouse, {
1818
widgetEventPrefix: "drag",

ui/jquery.ui.droppable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* jquery.ui.mouse.js
1414
* jquery.ui.draggable.js
1515
*/
16-
(function($) {
16+
(function( $, undefined ) {
1717

1818
$.widget("ui.droppable", {
1919
widgetEventPrefix: "drop",

ui/jquery.ui.mouse.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Depends:
1111
* jquery.ui.widget.js
1212
*/
13-
(function($) {
13+
(function( $, undefined ) {
1414

1515
$.widget("ui.mouse", {
1616
options: {

ui/jquery.ui.position.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* http://docs.jquery.com/UI/Position
99
*/
10-
(function( $ ) {
10+
(function( $, undefined ) {
1111

1212
$.ui = $.ui || {};
1313

ui/jquery.ui.progressbar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* jquery.ui.core.js
1212
* jquery.ui.widget.js
1313
*/
14-
(function( $ ) {
14+
(function( $, undefined ) {
1515

1616
$.widget( "ui.progressbar", {
1717
options: {

ui/jquery.ui.resizable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* jquery.ui.mouse.js
1313
* jquery.ui.widget.js
1414
*/
15-
(function($) {
15+
(function( $, undefined ) {
1616

1717
$.widget("ui.resizable", $.ui.mouse, {
1818
widgetEventPrefix: "resize",

ui/jquery.ui.selectable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* jquery.ui.mouse.js
1313
* jquery.ui.widget.js
1414
*/
15-
(function($) {
15+
(function( $, undefined ) {
1616

1717
$.widget("ui.selectable", $.ui.mouse, {
1818
options: {

ui/jquery.ui.slider.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* jquery.ui.mouse.js
1313
* jquery.ui.widget.js
1414
*/
15-
(function( $ ) {
15+
(function( $, undefined ) {
1616

1717
// number of pages in a slider
1818
// (how many times can you page up/down to go through the whole range)

ui/jquery.ui.sortable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* jquery.ui.mouse.js
1313
* jquery.ui.widget.js
1414
*/
15-
(function($) {
15+
(function( $, undefined ) {
1616

1717
$.widget("ui.sortable", $.ui.mouse, {
1818
widgetEventPrefix: "sort",

ui/jquery.ui.tabs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* jquery.ui.core.js
1212
* jquery.ui.widget.js
1313
*/
14-
(function($) {
14+
(function( $, undefined ) {
1515

1616
var tabId = 0,
1717
listId = 0;

ui/jquery.ui.widget.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* http://docs.jquery.com/UI/Widget
99
*/
10-
(function( $ ) {
10+
(function( $, undefined ) {
1111

1212
var _remove = $.fn.remove;
1313

0 commit comments

Comments
 (0)