| Index: lib/observe.dart
|
| diff --git a/lib/observe.dart b/lib/observe.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f5e58449062d880c5d7e8ff9b5a04e2660f0da01
|
| --- /dev/null
|
| +++ b/lib/observe.dart
|
| @@ -0,0 +1,25 @@
|
| +// Copyright (c) 2012, 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.
|
| +
|
| +/**
|
| + * A library for observing changes to observable Dart objects.
|
| + * Similar in spirit to EcmaScript 6
|
| + * [Object.observe](http://wiki.ecmascript.org/doku.php?id=harmony:observe), but
|
| + * able to observe expressions as well as objects, so long as the expressions
|
| + * are computed from observable objects.
|
| + *
|
| + * See the [observable] annotation, [Observable] base class, and the [observe]
|
| + * function.
|
| + */
|
| +// TODO(jmesserly): this library is independent of web_ui, and can be factored
|
| +// out into its own package. However, the compiler transform for @observable
|
| +// requires web_ui compiler, until we get buildtool support for it.
|
| +library web_ui.observe;
|
| +
|
| +export 'observe/expression.dart';
|
| +export 'observe/list.dart';
|
| +export 'observe/map.dart';
|
| +export 'observe/observable.dart';
|
| +export 'observe/reference.dart';
|
| +export 'observe/set.dart';
|
|
|