All: Define a local undefined variable inside the main closure.

This commit is contained in:
Scott González 2010-07-13 09:57:58 -04:00
parent ba387ce1c5
commit 21aad10e6a
31 changed files with 31 additions and 31 deletions

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.effects.core.js
*/
(function($) {
(function( $, undefined ) {
$.effects.blind = function(o) {

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.effects.core.js
*/
(function($) {
(function( $, undefined ) {
$.effects.bounce = function(o) {

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.effects.core.js
*/
(function($) {
(function( $, undefined ) {
$.effects.clip = function(o) {

View File

@ -7,7 +7,7 @@
*
* http://docs.jquery.com/UI/Effects/
*/
;jQuery.effects || (function($) {
;jQuery.effects || (function($, undefined) {
$.effects = {};

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.effects.core.js
*/
(function($) {
(function( $, undefined ) {
$.effects.drop = function(o) {

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.effects.core.js
*/
(function($) {
(function( $, undefined ) {
$.effects.explode = function(o) {

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.effects.core.js
*/
(function($) {
(function( $, undefined ) {
$.effects.fade = function(o) {
return this.queue(function() {

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.effects.core.js
*/
(function($) {
(function( $, undefined ) {
$.effects.fold = function(o) {

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.effects.core.js
*/
(function($) {
(function( $, undefined ) {
$.effects.highlight = function(o) {
return this.queue(function() {

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.effects.core.js
*/
(function($) {
(function( $, undefined ) {
$.effects.pulsate = function(o) {
return this.queue(function() {

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.effects.core.js
*/
(function($) {
(function( $, undefined ) {
$.effects.puff = function(o) {
return this.queue(function() {

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.effects.core.js
*/
(function($) {
(function( $, undefined ) {
$.effects.shake = function(o) {

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.effects.core.js
*/
(function($) {
(function( $, undefined ) {
$.effects.slide = function(o) {

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.effects.core.js
*/
(function($) {
(function( $, undefined ) {
$.effects.transfer = function(o) {
return this.queue(function() {

View File

@ -11,7 +11,7 @@
* jquery.ui.core.js
* jquery.ui.widget.js
*/
(function($) {
(function( $, undefined ) {
$.widget("ui.accordion", {
options: {

View File

@ -12,7 +12,7 @@
* jquery.ui.widget.js
* jquery.ui.position.js
*/
(function( $ ) {
(function( $, undefined ) {
$.widget( "ui.autocomplete", {
options: {

View File

@ -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",

View File

@ -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

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.ui.core.js
*/
(function($) { // hide the namespace
(function( $, undefined ) {
$.extend($.ui, { datepicker: { version: "@VERSION" } });

View File

@ -16,7 +16,7 @@
* jquery.ui.position.js
* jquery.ui.resizable.js
*/
(function($) {
(function( $, undefined ) {
var uiDialogClasses =
'ui-dialog ' +

View File

@ -12,7 +12,7 @@
* jquery.ui.mouse.js
* jquery.ui.widget.js
*/
(function($) {
(function( $, undefined ) {
$.widget("ui.draggable", $.ui.mouse, {
widgetEventPrefix: "drag",

View File

@ -13,7 +13,7 @@
* jquery.ui.mouse.js
* jquery.ui.draggable.js
*/
(function($) {
(function( $, undefined ) {
$.widget("ui.droppable", {
widgetEventPrefix: "drop",

View File

@ -10,7 +10,7 @@
* Depends:
* jquery.ui.widget.js
*/
(function($) {
(function( $, undefined ) {
$.widget("ui.mouse", {
options: {

View File

@ -7,7 +7,7 @@
*
* http://docs.jquery.com/UI/Position
*/
(function( $ ) {
(function( $, undefined ) {
$.ui = $.ui || {};

View File

@ -11,7 +11,7 @@
* jquery.ui.core.js
* jquery.ui.widget.js
*/
(function( $ ) {
(function( $, undefined ) {
$.widget( "ui.progressbar", {
options: {

View File

@ -12,7 +12,7 @@
* jquery.ui.mouse.js
* jquery.ui.widget.js
*/
(function($) {
(function( $, undefined ) {
$.widget("ui.resizable", $.ui.mouse, {
widgetEventPrefix: "resize",

View File

@ -12,7 +12,7 @@
* jquery.ui.mouse.js
* jquery.ui.widget.js
*/
(function($) {
(function( $, undefined ) {
$.widget("ui.selectable", $.ui.mouse, {
options: {

View File

@ -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)

View File

@ -12,7 +12,7 @@
* jquery.ui.mouse.js
* jquery.ui.widget.js
*/
(function($) {
(function( $, undefined ) {
$.widget("ui.sortable", $.ui.mouse, {
widgetEventPrefix: "sort",

View File

@ -11,7 +11,7 @@
* jquery.ui.core.js
* jquery.ui.widget.js
*/
(function($) {
(function( $, undefined ) {
var tabId = 0,
listId = 0;

View File

@ -7,7 +7,7 @@
*
* http://docs.jquery.com/UI/Widget
*/
(function( $ ) {
(function( $, undefined ) {
var _remove = $.fn.remove;