Appendix E. Scoping in JavaScript
This appendix provides details on the scoping rules for shared JavaScript control names.
JavaScript Scope of Name Attribute Values
A module is the object that a Main.html
file defines. In general, name
attributes are defined within the scope of the module that defines them, except for the special cases this section describes.
The following figure summarizes the rules of JavaScript name scope that prevent clashes between extensions in the GoLive environment:
In general, any object or function an extension module creates is visible only to that extension module, so its name attribute need only be unique ...
Get Adobe GoLive CS2 Official JavaScript Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.