| Index: src/site/docs/tutorials/fetchdata/examples/portmanteaux_simple/portmanteaux_simple.dart
|
| diff --git a/src/site/docs/tutorials/fetchdata/examples/portmanteaux_simple/portmanteaux_simple.dart b/src/site/docs/tutorials/fetchdata/examples/portmanteaux_simple/portmanteaux_simple.dart
|
| index 2cadceffb209f09ae382e37771b4f650060c2a3a..29e2aa68916436cd3e4f1a207bf08d48ec567a6a 100644
|
| --- a/src/site/docs/tutorials/fetchdata/examples/portmanteaux_simple/portmanteaux_simple.dart
|
| +++ b/src/site/docs/tutorials/fetchdata/examples/portmanteaux_simple/portmanteaux_simple.dart
|
| @@ -1,5 +1,5 @@
|
| import 'dart:html';
|
| -import 'dart:json' as json;
|
| +import 'dart:convert';
|
| import 'dart:async';
|
|
|
| var wordList;
|
| @@ -17,7 +17,7 @@ void makeRequest(Event e) {
|
| }
|
|
|
| processString(String jsonString) {
|
| - List<String> portmanteaux = json.parse(jsonString);
|
| + List<String> portmanteaux = JSON.decode(jsonString);
|
| for (int i = 0; i < portmanteaux.length; i++) {
|
| wordList.children.add(new LIElement()..text = portmanteaux[i]);
|
| }
|
|
|