struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject [1/2] struts git commit: Remove unused dependency from ApacheProjectsController
Date Wed, 06 May 2015 18:49:48 GMT
Repository: struts
Updated Branches:
  refs/heads/develop ea098ba08 -> 01279636d


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/develop
Commit: aa1e50f4124f5861a2ea9a4014c897bf29a59d1b
Parents: ea098ba
Author: Johannes Geppert <johgep@gmail.com>
Authored: Wed May 6 20:34:35 2015 +0200
Committer: Johannes Geppert <johgep@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;


Mime
View raw message