cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [1/3] git commit: Support Browser platform as a filter
Date Fri, 17 Oct 2014 23:42:27 GMT
Repository: cordova-registry-web
Updated Branches:
  refs/heads/master ca174d519 -> 7e6048bea


Support Browser platform as a filter


Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/4a27d4f9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/4a27d4f9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/4a27d4f9

Branch: refs/heads/master
Commit: 4a27d4f9a51a97b2fcec559b344cfdf04da3e55d
Parents: ca174d5
Author: Raymond Camden <raymondcamden@gmail.com>
Authored: Mon Oct 6 14:28:25 2014 -0500
Committer: Raymond Camden <raymondcamden@gmail.com>
Committed: Mon Oct 6 14:28:25 2014 -0500

----------------------------------------------------------------------
 attachments/js/controllers/search.js   | 4 ++++
 attachments/partials/views/search.html | 7 +++++++
 2 files changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4a27d4f9/attachments/js/controllers/search.js
----------------------------------------------------------------------
diff --git a/attachments/js/controllers/search.js b/attachments/js/controllers/search.js
index 42d6b97..e6022d3 100644
--- a/attachments/js/controllers/search.js
+++ b/attachments/js/controllers/search.js
@@ -12,6 +12,7 @@ angular.module('registry.controllers').controller('SearchController', ['$rootSco
 	$scope.filterFirefox = false;
 	$scope.filterBlackberry = false;
 	$scope.filterUbuntu = false;
+	$scope.filterBrowser = false;
 
 	$scope.searchTerm = SearchService.getSearch();
 /*
@@ -67,6 +68,9 @@ angular.module('registry.controllers').controller('SearchController', ['$rootSco
 		if($scope.filterWindows8) {
 			platformFilters.push('windows8');
 		}
+		if($scope.filterBrowser) {
+			platformFilters.push('browser');
+		}
 
 		return platformFilters;
 	};

http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/4a27d4f9/attachments/partials/views/search.html
----------------------------------------------------------------------
diff --git a/attachments/partials/views/search.html b/attachments/partials/views/search.html
index cd07c75..9b40418 100644
--- a/attachments/partials/views/search.html
+++ b/attachments/partials/views/search.html
@@ -70,6 +70,13 @@
                     <span>Ubuntu</span>
                 </label>
             </div>
+            <div class="column-3--lap">
+                <label class="topcoat-checkbox">
+                    <input type="checkbox" ng-model="filterBrowser" />
+                    <div class="topcoat-checkbox__checkmark"></div>
+                    <span>Browser</span>
+                </label>
+            </div>
         </div>
 
         <pluginlist></pluginlist>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message