You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2015/05/21 20:01:15 UTC

[07/10] struts git commit: Remove unused dependency from ApacheProjectsController

Remove unused dependency from ApacheProjectsController


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/aa1e50f4
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/aa1e50f4
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/aa1e50f4

Branch: refs/heads/master
Commit: aa1e50f4124f5861a2ea9a4014c897bf29a59d1b
Parents: ea098ba
Author: Johannes Geppert <jo...@gmail.com>
Authored: Wed May 6 20:34:35 2015 +0200
Committer: Johannes Geppert <jo...@gmail.com>
Committed: Wed May 6 20:34:35 2015 +0200

----------------------------------------------------------------------
 .../archetype-resources/src/main/webapp/js/controllers.js          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/aa1e50f4/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/controllers.js
----------------------------------------------------------------------
diff --git a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/controllers.js b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/controllers.js
index ed57b00..f0d72f1 100644
--- a/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/controllers.js
+++ b/archetypes/struts2-archetype-angularjs/src/main/resources/archetype-resources/src/main/webapp/js/controllers.js
@@ -24,7 +24,7 @@ angularStrutsApp.controller('HomeController', function ($scope) {
     $scope.name = "Sunshine";
 });
 
-angularStrutsApp.controller('ApacheProjectsController', function ($scope, $http, DataService) {
+angularStrutsApp.controller('ApacheProjectsController', function ($scope, DataService) {
     this.init = function() {
         DataService.getProjects().then(function(data) {
             $scope.projects = data.data.projectNames;