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

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

Issue 256553002: Revert "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
« no previous file with comments | « third_party/pkg/angular/lib/filter/json.dart ('k') | third_party/pkg/angular/lib/filter/lowercase.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/angular/lib/filter/limit_to.dart
diff --git a/third_party/pkg/angular/lib/formatter/limit_to.dart b/third_party/pkg/angular/lib/filter/limit_to.dart
similarity index 92%
rename from third_party/pkg/angular/lib/formatter/limit_to.dart
rename to third_party/pkg/angular/lib/filter/limit_to.dart
index a38467f61c2f2e7225634eeb955fe09c110b4bb5..1237a8a5b3814e0913113c35f77305367780bc41 100644
--- a/third_party/pkg/angular/lib/formatter/limit_to.dart
+++ b/third_party/pkg/angular/lib/filter/limit_to.dart
@@ -1,4 +1,4 @@
-part of angular.formatter_internal;
+part of angular.filter;
/**
* Creates a new List or String containing only a prefix/suffix of the
@@ -34,11 +34,11 @@ part of angular.formatter_internal;
* <li>i</li>
* <li>j</li>
*/
-@Formatter(name:'limitTo')
-class LimitTo implements Function {
+@NgFilter(name:'limitTo')
+class LimitToFilter {
Injector _injector;
- LimitTo(this._injector);
+ LimitToFilter(this._injector);
dynamic call(dynamic items, [int limit]) {
if (items == null) return null;
« no previous file with comments | « third_party/pkg/angular/lib/filter/json.dart ('k') | third_party/pkg/angular/lib/filter/lowercase.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698