Browse Source

Fix breaking change: Unable to return values from controller constructor functions. See https://github.com/angular/angular.js/pull/8882/files.

pull/287/head
Evan Theurer 10 years ago committed by Simon Eisenmann
parent
commit
b07666a43b
  1. 6
      static/js/directives/audiovideo.js

6
static/js/directives/audiovideo.js

@ -28,7 +28,7 @@ define(['jquery', 'underscore', 'text!partials/audiovideo.html', 'text!partials/ @@ -28,7 +28,7 @@ define(['jquery', 'underscore', 'text!partials/audiovideo.html', 'text!partials/
var controller = ['$scope', '$element', '$attrs', function($scope, $element, $attrs) {
var streams = {};
var streams = this.streams = {};
var calls = {};
$scope.container = $element[0];
@ -370,10 +370,6 @@ define(['jquery', 'underscore', 'text!partials/audiovideo.html', 'text!partials/ @@ -370,10 +370,6 @@ define(['jquery', 'underscore', 'text!partials/audiovideo.html', 'text!partials/
});
return {
streams: streams
};
}];
var compile = function(tElement, tAttr) {

Loading…
Cancel
Save