Opened 12 years ago
Closed 12 years ago
#7034 closed bug (fixed)
effect.js uses variables defined in closure of css.js
Reported by: | arrix | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | core | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I got an error calling .slideDown() with the latest build: Uncaught ReferenceError: rdashAlpha is not defined
commit bca576 added a closure for each module. rdashAlpha, fcamelCase and perhaps others are defined in the closure of css.js so effect.js can't access them.
Here two modules are sharing common variables. We can move the shared variables to an outer closure accessible by both modules. We can also invent a way for modules to import/export variables which may seem too heavy for jQuery.
Note: See
TracTickets for help on using
tickets.
fixed in http://github.com/jquery/jquery/commit/fc5b69fc706a6025e5084d4b86adb3b97840c84f