#20 Refactor ApexLib.js and use namespaces

closed
Patrick Wolf
Browser (30)
7
2007-01-09
2007-01-07
Patrick Wolf
No

ApexLib.js is growing and growing, to make it better maintainable, refactor it into different modules.

Some of the functions also use global variables which are currently stored in the global context, it would be better if all the global variables and the functions are stored in it's own namespace. A own namespace helps that there are no variable collisions in the case other javascript libraries are used too.

Discussion

  • Patrick Wolf
    Patrick Wolf
    2007-01-09

    • status: open --> closed
     
  • Patrick Wolf
    Patrick Wolf
    2007-01-09

    Logged In: YES
    user_id=1449836
    Originator: YES

    Created serveral new ApexLib_*.js modules. All methods are accessible through the namespace apexlib eg apexlib.core.getParentNode, apexlib.error.showError, ...

    Included in release v0.17