Chromium Code Reviews| 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..188631bb05508d0405fe64b1b9f66d23164964a5 100644 |
| --- a/pkg/polymer/lib/src/instance.dart |
| +++ b/pkg/polymer/lib/src/instance.dart |
| @@ -69,6 +69,11 @@ 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 |
|
Siggi Cherem (dart-lang)
2013/10/15 17:33:00
nit:
- add empty line above comment
- /// vs /**
blois
2013/10/15 17:36:38
Done.
|
| + /// for use. |
| + static Future get onReady => _ready.future; |
| + |
| PolymerDeclaration _declaration; |
| /** The most derived `<polymer-element>` declaration for this element. */ |