Currently each package module is independent, but we're running into issues of repeated code and dependencies. Some methods are needed by more than one module, e.g., both collapsiblock and dynamicload need to determine clean urls, the base_url, etc. We need to fix issues in drupal.js, and shouldn't have to include those fixes in each module.
Also, we need methods for calling all behaviors. We need to register each behavior and have methods for selectively calling registered behaviors.
For this reason I'm working on pulling all these methods into jstools.js. All package modules would depend on jstools.module. This requires some refactoring of the existing modules.
Comments
Comment #1
nedjoStill a few details to clean up, but the main change is done. All jstools modules will depend on jstools.module.
Comment #2
(not verified) commented