Bug Tracker

Opened 9 years ago

Closed 9 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.

Change History (1)

comment:1 Changed 9 years ago by arrix

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.