Powered By IdeaScale
Login / Signup
Fotonotes Ideas
« Back To Fotonotes Ideas
Single global object instead multiple vars
 
If we get to a point where the client js is being refactored, I think it would be good to wrap everything up as properties of a single global fotonotes object rather than the 40+ variables and functions currently being added to the global scope. Some -- especially the DragResize code -- could quite easily conflict with other applications on the page.
Comments
 Have an account? - Login
Notify me via Email when someone responds or action is taken on this Topic/Idea
Related Topics/Ideas
Title

Activity Chart
Idea Rank : 5
Users Activity