| Index: third_party/pkg/angular/lib/core_dom/common.dart
|
| ===================================================================
|
| --- third_party/pkg/angular/lib/core_dom/common.dart (revision 33054)
|
| +++ third_party/pkg/angular/lib/core_dom/common.dart (working copy)
|
| @@ -4,8 +4,7 @@
|
| return elements.map((el) => el.clone(true)).toList();
|
| }
|
|
|
| -typedef ApplyMapping(NodeAttrs attrs, Scope scope, Object dst,
|
| - FilterMap filters, notify());
|
| +typedef ApplyMapping(NodeAttrs attrs, Scope scope, Object dst);
|
|
|
| class DirectiveRef {
|
| final dom.Node element;
|
| @@ -20,19 +19,7 @@
|
|
|
| String toString() {
|
| var html = element is dom.Element ? (element as dom.Element).outerHtml : element.nodeValue;
|
| - return '{ element: $html, selector: ${annotation.selector}, value: $value, type: $type }';
|
| + return '{ element: $html, selector: ${annotation.selector}, value: $value }';
|
| }
|
| }
|
|
|
| -/**
|
| - * Creates a child injector that allows loading new directives, filters and
|
| - * services from the provided modules.
|
| - */
|
| -Injector forceNewDirectivesAndFilters(Injector injector, List<Module> modules) {
|
| - modules.add(new Module()..factory(Scope, (i) {
|
| - var scope = i.parent.get(Scope);
|
| - return scope.createChild(new PrototypeMap(scope.context));
|
| - }));
|
| - return injector.createChild(modules,
|
| - forceNewInstances: [DirectiveMap, FilterMap]);
|
| -}
|
|
|