Browse Source

Simplified function definition.

pull/100/head
Simon Eisenmann 11 years ago
parent
commit
8337b3eff9
  1. 4
      static/js/controllers/mediastreamcontroller.js

4
static/js/controllers/mediastreamcontroller.js

@ -182,8 +182,7 @@ define(['underscore', 'bigscreen', 'moment', 'sjcl', 'modernizr', 'webrtc.adapte
return $scope.status; return $scope.status;
}; };
$scope.updateStatus = (function() { $scope.updateStatus = function() {
return function() {
// This is the user status. // This is the user status.
var status = { var status = {
displayName: $scope.master.displayName || null, displayName: $scope.master.displayName || null,
@ -198,7 +197,6 @@ define(['underscore', 'bigscreen', 'moment', 'sjcl', 'modernizr', 'webrtc.adapte
cache.status = _.clone(status); cache.status = _.clone(status);
} }
}; };
}());
$scope.refreshWebrtcSettings = function() { $scope.refreshWebrtcSettings = function() {

Loading…
Cancel
Save