| Index: samples/third_party/dromaeo/Dromaeo.dart
|
| diff --git a/samples/third_party/dromaeo/Dromaeo.dart b/samples/third_party/dromaeo/Dromaeo.dart
|
| index 2c25d3243ef3d90da316a079bb6c2a25bf08b737..e9bcf4f89a2116a74f1ed54ddeb3e27e1790c6aa 100644
|
| --- a/samples/third_party/dromaeo/Dromaeo.dart
|
| +++ b/samples/third_party/dromaeo/Dromaeo.dart
|
| @@ -1,5 +1,5 @@
|
| import 'dart:html';
|
| -import 'dart:json';
|
| +import 'dart:json' as json;
|
| import 'dart:math' as Math;
|
| import 'Suites.dart';
|
|
|
| @@ -95,7 +95,7 @@ class Dromaeo {
|
| window.on.message.add(
|
| (MessageEvent event) {
|
| try {
|
| - final response = JSON.parse(event.data);
|
| + final response = json.parse(event.data);
|
| _handler = _handler(response['command'], response['data']);
|
| } catch (e, stacktrace) {
|
| window.alert('Exception: ${e}: ${stacktrace}');
|
|
|