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

Commit

Permalink
fix(todo): Fixing some dart2js compilation issues for todo demo
Browse files Browse the repository at this point in the history
One is that the publishAs parameter was removed from NgDirective constructor with (c48433e)

The other is a warning from the dart2js compiler that 'NodeTreeSanitizer' is not known- strings in @MirrorsUsed use the full lib name (but not for core types?)

Closes #453
  • Loading branch information
blois authored and jbdeboer committed Jan 28, 2014
1 parent c4e6423 commit b8e97d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo/todo/web/todo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class NoServerController implements ServerController {
}


@NgDirective(
@NgController(
selector: '[todo-controller]',
publishAs: 'todo'
)
Expand Down
2 changes: 1 addition & 1 deletion lib/angular.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import 'package:di/dynamic_injector.dart';
'angular.core.parser.lexer',
'perf_api',
'List',
'NodeTreeSanitizer',
'dart.dom.html.NodeTreeSanitizer',
],
metaTargets: const[
'NgInjectableService',
Expand Down

0 comments on commit b8e97d9

Please sign in to comment.