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

Unified Diff: third_party/pkg/angular/lib/core/parser/static_parser.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/lib/core/parser/static_parser.dart
===================================================================
--- third_party/pkg/angular/lib/core/parser/static_parser.dart (revision 33054)
+++ third_party/pkg/angular/lib/core/parser/static_parser.dart (working copy)
@@ -1,9 +1,7 @@
library angular.core.parser.static_parser;
-import 'package:angular/core/module.dart' show FilterMap, NgInjectableService;
import 'package:angular/core/parser/parser.dart';
import 'package:angular/core/parser/utils.dart' show EvalError;
-import 'package:angular/core/parser/syntax.dart';
class StaticParserFunctions {
final Map<String, Function> eval;
@@ -11,7 +9,7 @@
StaticParserFunctions(this.eval, this.assign);
}
-@NgInjectableService()
+//@NgInjectableService()
class StaticParser implements Parser<Expression> {
final StaticParserFunctions _functions;
final DynamicParser _fallbackParser;
@@ -42,9 +40,9 @@
accept(Visitor visitor) => throw "Cannot visit static expression $this";
toString() => _input;
- eval(scope, [FilterMap filters = defaultFilterMap]) {
+ eval(scope) {
try {
- return _eval(scope, filters);
+ return _eval(scope);
} on EvalError catch (e, s) {
throw e.unwrap("$this", s);
}
« no previous file with comments | « third_party/pkg/angular/lib/core/parser/parser.dart ('k') | third_party/pkg/angular/lib/core/parser/syntax.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698