Modify ↓
Ticket #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: | ||
| Blocking: | Blocked by: |
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.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

fixed in http://github.com/jquery/jquery/commit/fc5b69fc706a6025e5084d4b86adb3b97840c84f