Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: third_party/pkg/angular/test/core_dom/shadow_root_options_spec.dart

Issue 180843004: Revert revision 33053 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/pkg/angular/test/core_dom/shadow_root_options_spec.dart
===================================================================
--- third_party/pkg/angular/test/core_dom/shadow_root_options_spec.dart (revision 33054)
+++ third_party/pkg/angular/test/core_dom/shadow_root_options_spec.dart (working copy)
@@ -41,7 +41,6 @@
main() {
describe('shadow dom options', () {
Compiler $compile;
- DirectiveMap directives;
Injector injector;
Scope $rootScope;
@@ -54,7 +53,6 @@
injector = _injector;
$compile = injector.get(Compiler);
$rootScope = injector.get(Scope);
- directives = injector.get(DirectiveMap);
};
}));
@@ -64,7 +62,7 @@
'<apply-author-style>not included</apply-author-style>' +
'<default-options>not included</default-options>');
element.forEach((elt) { document.body.append(elt); }); // we need the computed style.
- $compile(element, directives)(injector, element);
+ $compile(element)(injector, element);
microLeap();
expect(element[1].shadowRoot.query('div').getComputedStyle().border).toContain('3px solid');
@@ -78,7 +76,7 @@
'<reset-style-inheritance>not included</reset-style-inheritance>' +
'<default-options>not included</default-options>');
element.forEach((elt) { document.body.append(elt); }); // we need the computed style.
- $compile(element, directives)(injector, element);
+ $compile(element)(injector, element);
microLeap();
expect(element[1].shadowRoot.query('div').getComputedStyle().fontSize).toEqual('16px');

Powered by Google App Engine
This is Rietveld 408576698