| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library mixin_prefix_lib; | 5 library mixin_prefix_lib; |
| 6 | 6 |
| 7 import 'dart:json' as json; | 7 import "dart:convert"; |
| 8 | 8 |
| 9 class MixinClass { | 9 class MixinClass { |
| 10 String bar() => json.stringify({'a':1}); | 10 String bar() => JSON.encode({'a':1}); |
| 11 } | 11 } |
| OLD | NEW |