| 42 | It may be a good idea to create separated module for links. Keep in mind that this module should communicate with other modules (For example the frame view is affected after a link is added, they could also control(play, pause) the timeline etc.). Also create a manager that is responsible for events monitoring, provide easy way to add and remove event listeners from a single place. Delegate the responsibility for states changes, see if it is necessary to do some refactoring over the existing modules(for example the frame view should be responsible for managing different states). |