| Index: packages/js_util/example/js_util.dart
|
| diff --git a/packages/js_util/example/js_util.dart b/packages/js_util/example/js_util.dart
|
| deleted file mode 100644
|
| index ce87db131b9bb4b148bc80f98b909eeb5d04d815..0000000000000000000000000000000000000000
|
| --- a/packages/js_util/example/js_util.dart
|
| +++ /dev/null
|
| @@ -1,20 +0,0 @@
|
| -import 'dart:html';
|
| -
|
| -import 'package:js_util/js_util.dart';
|
| -
|
| -void main() {
|
| - final jsObj = toJS({
|
| - 'people': [
|
| - {'firstName': 'Kwang Yul', 'lastName': 'Seo'},
|
| - {'firstName': 'DoHyung', 'lastName': 'Kim'},
|
| - {'firstName': 'Kyusun', 'lastName': 'Kim'}
|
| - ]
|
| - });
|
| -
|
| - final people = getValue(jsObj, 'people');
|
| - final firstPerson = people[0];
|
| - final text =
|
| - '${getValue(firstPerson, "firstName")} ${getValue(firstPerson, "lastName")}';
|
| - document.querySelector('#container').innerHtml = text;
|
| -}
|
| -
|
|
|