|
From: Robert R. <rra...@ya...> - 2000-12-16 04:32:02
|
I haven't seen the new code yet but wouldn't it be
better if the new global functions were static methods
of the DynLayer. Like:
DynLayer.createElement = function(dlyr) {}
This way you would say DynLayer.createElement(). I
think this would make it more clear what the intent of
the functions were if they were static. I don't think
this would require any more memory than a global
function. For users looking at the code, I think a
static method would be more obvious. Of course, it
would not change the way it works.
Rob
--- Dan Steinman <dy...@fu...> wrote:
> Just change the .createElement() call to
> DynLayer_createElement(dlyr).
>
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
|