| Index: tests/html/mdv_observe_utils.dart
|
| diff --git a/tests/html/mdv_observe_utils.dart b/tests/html/mdv_observe_utils.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..56c3cebc3fc2710a2bcbff7102feb6c837d14d2b
|
| --- /dev/null
|
| +++ b/tests/html/mdv_observe_utils.dart
|
| @@ -0,0 +1,16 @@
|
| +// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +library mdv_observe_utils;
|
| +
|
| +import 'package:mdv_observe/mdv_observe.dart';
|
| +
|
| +toSymbolMap(Map map) {
|
| + var result = new ObservableMap.linked();
|
| + map.forEach((key, value) {
|
| + if (value is Map) value = toSymbolMap(value);
|
| + result[new Symbol(key)] = value;
|
| + });
|
| + return result;
|
| +}
|
|
|