removed unused js and css files, remoted html5 notifications (for now)

This commit is contained in:
Brad Rydzewski
2014-07-13 16:46:49 -07:00
parent 54984a7363
commit 063969842b
18 changed files with 9 additions and 3837 deletions

View File

@@ -1,6 +1,6 @@
'use strict';
angular.module('app').controller("UserController", function($scope, $http, user, notify) {
angular.module('app').controller("UserController", function($scope, $http, user) {
$scope.account = user;
@@ -17,10 +17,6 @@ angular.module('app').controller("UserController", function($scope, $http, user,
console.log(data);
});
$scope.notifications = {}
$scope.notifications.supported = notify.supported();
$scope.notifications.granted = notify.granted();
$scope.save = function() {
// request to create a new repository
$http({method: 'PUT', url: '/v1/user', data: $scope.userTemp }).
@@ -39,7 +35,4 @@ angular.module('app').controller("UserController", function($scope, $http, user,
name : $scope.user.name
};
};
$scope.enableNotifications = function() {
notify.requestPermission();
};
});