| Index: pkg/polymer/lib/src/instance.dart
|
| diff --git a/pkg/polymer/lib/src/instance.dart b/pkg/polymer/lib/src/instance.dart
|
| index 008792c1398daa6f369e2bf372b34ed0b5ba4838..c96aca005444afcf639193422149cb25fb94ab80 100644
|
| --- a/pkg/polymer/lib/src/instance.dart
|
| +++ b/pkg/polymer/lib/src/instance.dart
|
| @@ -69,6 +69,14 @@ abstract class Polymer implements Element {
|
|
|
| static int _preparingElements = 0;
|
|
|
| + static final Completer _ready = new Completer();
|
| +
|
| + /**
|
| + * Future indicating that the Polymer library has been loaded and is ready
|
| + * for use.
|
| + */
|
| + static Future get onReady => _ready.future;
|
| +
|
| PolymerDeclaration _declaration;
|
|
|
| /** The most derived `<polymer-element>` declaration for this element. */
|
|
|