| Index: third_party/pkg/angular/lib/mock/probe.dart
|
| ===================================================================
|
| --- third_party/pkg/angular/lib/mock/probe.dart (revision 33054)
|
| +++ third_party/pkg/angular/lib/mock/probe.dart (working copy)
|
| @@ -17,12 +17,10 @@
|
| final NodeAttrs _attrs;
|
|
|
| Probe(this.scope, this.injector, this.element, this._attrs) {
|
| - scope.rootScope.context[_attrs['probe']] = this;
|
| + scope.$root[_attrs['probe']] = this;
|
| }
|
|
|
| - void detach() {
|
| - scope.rootScope.context[_attrs['probe']] = null;
|
| - }
|
| + detach() => scope.$root[_attrs['probe']] = null;
|
|
|
| /**
|
| * Retrieve a Directive at the current element.
|
|
|