From c95653a10be5fccab60206455b6e9f0c9abb1abd Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 28 Dec 2011 15:04:20 -0500 Subject: [PATCH] Switch from having embeded JS in index.html to using document.ready in main.js --- web_frontend/index.html | 4 ---- web_frontend/main.js | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web_frontend/index.html b/web_frontend/index.html index 96677a2..ffefd9b 100644 --- a/web_frontend/index.html +++ b/web_frontend/index.html @@ -14,9 +14,5 @@ - - diff --git a/web_frontend/main.js b/web_frontend/main.js index 26f03b1..db8b89f 100644 --- a/web_frontend/main.js +++ b/web_frontend/main.js @@ -9,6 +9,10 @@ $.namespace('armadillo.App'); +$(document).ready(function() { + app = new armadillo.App(); +}); + armadillo.App = function() { var start_path = '/'; if (window.location.hash) { -- 2.22.5