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

Unified Diff: third_party/pkg/angular/lib/formatter/limit_to.dart

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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/formatter/limit_to.dart
diff --git a/third_party/pkg/angular/lib/filter/limit_to.dart b/third_party/pkg/angular/lib/formatter/limit_to.dart
similarity index 92%
rename from third_party/pkg/angular/lib/filter/limit_to.dart
rename to third_party/pkg/angular/lib/formatter/limit_to.dart
index 1237a8a5b3814e0913113c35f77305367780bc41..a38467f61c2f2e7225634eeb955fe09c110b4bb5 100644
--- a/third_party/pkg/angular/lib/filter/limit_to.dart
+++ b/third_party/pkg/angular/lib/formatter/limit_to.dart
@@ -1,4 +1,4 @@
-part of angular.filter;
+part of angular.formatter_internal;
/**
* Creates a new List or String containing only a prefix/suffix of the
@@ -34,11 +34,11 @@ part of angular.filter;
* <li>i</li>
* <li>j</li>
*/
-@NgFilter(name:'limitTo')
-class LimitToFilter {
+@Formatter(name:'limitTo')
+class LimitTo implements Function {
Injector _injector;
- LimitToFilter(this._injector);
+ LimitTo(this._injector);
dynamic call(dynamic items, [int limit]) {
if (items == null) return null;
« no previous file with comments | « third_party/pkg/angular/lib/formatter/json.dart ('k') | third_party/pkg/angular/lib/formatter/lowercase.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698