From d2f82365f1ee8b37e183248551ca86805922a0b8 Mon Sep 17 00:00:00 2001 From: hamza zia Date: Tue, 22 Jan 2013 12:59:52 +0500 Subject: [PATCH] refactored old js core in a separate folder --- angular.html | 3 +-- index.html | 10 +++++----- js/app.js | 3 --- js/init.js | 2 ++ js/{ => old}/aria2_settings.js | 0 js/{ => old}/connection.js | 0 js/{ => old}/plugins.js | 0 js/{ => old}/script.js | 0 js/{ => old}/utils.js | 0 9 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 js/app.js rename js/{ => old}/aria2_settings.js (100%) rename js/{ => old}/connection.js (100%) rename js/{ => old}/plugins.js (100%) rename js/{ => old}/script.js (100%) rename js/{ => old}/utils.js (100%) diff --git a/angular.html b/angular.html index b3ee0b6..a724aa7 100644 --- a/angular.html +++ b/angular.html @@ -30,7 +30,7 @@ - + @@ -51,7 +51,6 @@ - diff --git a/index.html b/index.html index 640e894..399e9e7 100755 --- a/index.html +++ b/index.html @@ -27,9 +27,9 @@ - - - + + + @@ -719,9 +719,9 @@ - + - + diff --git a/js/app.js b/js/app.js deleted file mode 100644 index 55890b7..0000000 --- a/js/app.js +++ /dev/null @@ -1,3 +0,0 @@ -var app = angular.module('app', []); - - diff --git a/js/init.js b/js/init.js index c7864e3..c65d574 100644 --- a/js/init.js +++ b/js/init.js @@ -1,3 +1,5 @@ +var app = angular.module('app', []); + $(function() { angular.bootstrap(document, ['app']) }); diff --git a/js/aria2_settings.js b/js/old/aria2_settings.js similarity index 100% rename from js/aria2_settings.js rename to js/old/aria2_settings.js diff --git a/js/connection.js b/js/old/connection.js similarity index 100% rename from js/connection.js rename to js/old/connection.js diff --git a/js/plugins.js b/js/old/plugins.js similarity index 100% rename from js/plugins.js rename to js/old/plugins.js diff --git a/js/script.js b/js/old/script.js similarity index 100% rename from js/script.js rename to js/old/script.js diff --git a/js/utils.js b/js/old/utils.js similarity index 100% rename from js/utils.js rename to js/old/utils.js