From dc0658f56e145a04efe86197722ac1efed2ac1e1 Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Fri, 8 Jul 2016 11:36:29 +0100 Subject: [PATCH] App now loaded via requirejs. --- src/main/webdemo/bower.json | 3 +- src/main/webdemo/index.html | 9 +- src/main/webdemo/js/Deal.js | 9 + src/main/webdemo/js/app.js | 287 ++++++++++++++------------ src/main/webdemo/js/require-config.js | 30 +++ 5 files changed, 192 insertions(+), 146 deletions(-) create mode 100644 src/main/webdemo/js/Deal.js create mode 100644 src/main/webdemo/js/require-config.js diff --git a/src/main/webdemo/bower.json b/src/main/webdemo/bower.json index a643530be5..37f3d9f70f 100644 --- a/src/main/webdemo/bower.json +++ b/src/main/webdemo/bower.json @@ -18,6 +18,7 @@ "angular-route": "^1.5.7", "lodash": "^4.13.1", "angular-fcsa-number": "^1.5.3", - "jquery.maskedinput": "^1.4.1" + "jquery.maskedinput": "^1.4.1", + "requirejs": "^2.2.0" } } diff --git a/src/main/webdemo/index.html b/src/main/webdemo/index.html index 8dde6b2a4e..a0a4a39cad 100644 --- a/src/main/webdemo/index.html +++ b/src/main/webdemo/index.html @@ -10,14 +10,7 @@ IRS Demo Viewer - - - - - - - - +