| Index: third_party/pkg/angular/lib/formatter/json.dart
|
| diff --git a/third_party/pkg/angular/lib/filter/json.dart b/third_party/pkg/angular/lib/formatter/json.dart
|
| similarity index 50%
|
| rename from third_party/pkg/angular/lib/filter/json.dart
|
| rename to third_party/pkg/angular/lib/formatter/json.dart
|
| index f2c0efa80dfcf2c1c93dbf09fd12b6d27c6366f2..8bc45666d835ae38ea85a0f518ad7382bc3f2a10 100644
|
| --- a/third_party/pkg/angular/lib/filter/json.dart
|
| +++ b/third_party/pkg/angular/lib/formatter/json.dart
|
| @@ -1,14 +1,14 @@
|
| -part of angular.filter;
|
| +part of angular.formatter_internal;
|
|
|
| /**
|
| - * Allows you to convert a JavaScript object into JSON string. This filter is
|
| + * Allows you to convert a JavaScript object into JSON string. This formatter is
|
| * mostly useful for debugging.
|
| *
|
| * Usage:
|
| *
|
| * {{ json_expression | json }}
|
| */
|
| -@NgFilter(name:'json')
|
| -class JsonFilter {
|
| - call(text) => JSON.encode(text);
|
| +@Formatter(name:'json')
|
| +class Json implements Function {
|
| + String call(jsonObj) => JSON.encode(jsonObj);
|
| }
|
|
|