Index: third_party/pkg/angular/lib/formatter/uppercase.dart |
diff --git a/third_party/pkg/angular/lib/filter/uppercase.dart b/third_party/pkg/angular/lib/formatter/uppercase.dart |
similarity index 62% |
rename from third_party/pkg/angular/lib/filter/uppercase.dart |
rename to third_party/pkg/angular/lib/formatter/uppercase.dart |
index 6627fce31cffe0b2683a679e2a39b9e9013bc3fb..722170d2fb80973283253770dba0508df452712c 100644 |
--- a/third_party/pkg/angular/lib/filter/uppercase.dart |
+++ b/third_party/pkg/angular/lib/formatter/uppercase.dart |
@@ -1,4 +1,4 @@ |
-part of angular.filter; |
+part of angular.formatter_internal; |
/** |
* Converts string to uppercase. |
@@ -7,7 +7,7 @@ part of angular.filter; |
* |
* {{ uppercase_expression | uppercase }} |
*/ |
-@NgFilter(name:'uppercase') |
-class UppercaseFilter { |
+@Formatter(name:'uppercase') |
+class Uppercase implements Function { |
call(String text) => text == null ? text : text.toUpperCase(); |
} |