Refactor frontend JS 13/213/5
authorAndrew Kim <andrekim@cisco.com>
Tue, 16 Apr 2013 22:35:12 +0000 (15:35 -0700)
committerAndrew Kim <andrekim@cisco.com>
Fri, 19 Apr 2013 02:05:43 +0000 (19:05 -0700)
commit3591b13ae3e6f237db9e4b63cb3b07e020f576ca
tree26eb85cd5e0e65df9ace6e77584ef26a14e4dff3
parentb4909e4603dc3989463e1a0d86b6007219eb472f
Refactor frontend JS

Refactored one.js into lib.js and open.js. lib.js contains all the common library functions
one.js and other page.js can use. open.js is the core engine that runs the web UI.

Frontend is now extensible by automatically including  lib.js and overriding default JS engine.

Use spaces instead of tabs.

Change-Id: Ia6678a81a23266c6d0e1c1d56c6cec547f792487
Signed-off-by: Andrew Kim <andrekim@cisco.com>
opendaylight/web/root/src/main/resources/WEB-INF/jsp/main.jsp
opendaylight/web/root/src/main/resources/js/lib.js [new file with mode: 0644]
opendaylight/web/root/src/main/resources/js/one-topology.js [deleted file]
opendaylight/web/root/src/main/resources/js/one.js [deleted file]
opendaylight/web/root/src/main/resources/js/open-topology.js [new file with mode: 0644]
opendaylight/web/root/src/main/resources/js/open.js [new file with mode: 0644]