Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 7e0152c

Browse files
vicbvsavkin
authored andcommitted
chore(ng-class benchamrk): fixes
Closes #1465
1 parent 2bcd29e commit 7e0152c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

benchmark/web/ng-class/index.dart

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import 'package:angular/core_dom/module_internal.dart';
44
import 'package:angular/application_factory.dart';
55
import 'package:angular/change_detection/ast_parser.dart';
66

7-
import 'dart:html';
8-
import 'dart:math';
97
import 'dart:js' as js;
108

119
@Component(
@@ -40,9 +38,9 @@ main() {
4038
var cleanup, createDom;
4139

4240
var module = new Module()
43-
..type(Classy)
44-
..type(Baseline)
45-
..type(SillyClass)
41+
..bind(Classy)
42+
..bind(Baseline)
43+
..bind(SillyClass)
4644
..bind(CompilerConfig, toValue: new CompilerConfig.withOptions(elementProbeEnabled: false));
4745

4846
var injector = applicationFactory().addModule(module).run();

0 commit comments

Comments
 (0)