Skip to main content

Bug Tracker

Side navigation

#7034 closed bug (fixed)

Opened September 15, 2010 03:46AM UTC

Closed September 18, 2010 09:21AM UTC

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:

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.

Attachments (0)
Change History (1)

Changed September 18, 2010 09:21AM UTC by arrix comment:1

resolution: → fixed
status: newclosed