diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-02-13 02:25:21 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-02-13 02:25:21 +0000 |
commit | 16c0c8f2594234ad970fc22112d4752c3f1e467e (patch) | |
tree | 4339a5feb96321b9847104eaba58ed0daa2ab926 /ui/effects.core.js | |
parent | 8ba40888a5943efd64c17d6edd2dda86dd7a6ec2 (diff) | |
download | jquery-ui-16c0c8f2594234ad970fc22112d4752c3f1e467e.tar.gz jquery-ui-16c0c8f2594234ad970fc22112d4752c3f1e467e.zip |
Prevent loading core files multiple times. Fixes #4130 - Too much recurson with double include.
Diffstat (limited to 'ui/effects.core.js')
-rw-r--r-- | ui/effects.core.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ui/effects.core.js b/ui/effects.core.js index 080339a11..eb448e71e 100644 --- a/ui/effects.core.js +++ b/ui/effects.core.js @@ -7,11 +7,9 @@ * * http://docs.jquery.com/UI/Effects/ */ -;(function($) { +;jQuery.effects || (function($) { -$.effects = $.effects || {}; //Add the 'effects' scope - -$.extend($.effects, { +$.effects = { version: "@VERSION", // Saves a set of properties in a data storage @@ -130,7 +128,7 @@ $.extend($.effects, { }); } -}); +}; function _normalizeArguments(a, m) { |