OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of polymer; | 5 part of polymer; |
6 | 6 |
7 /// Initializes a polymer application as follows: | 7 /// Initializes a polymer application as follows: |
8 /// * if running in development mode, set up a dirty-checking zone that polls | 8 /// * if running in development mode, set up a dirty-checking zone that polls |
9 /// for observable changes | 9 /// for observable changes |
10 /// * initialize template binding and polymer-element | 10 /// * initialize template binding and polymer-element |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 // Only alert once per waiting state. | 160 // Only alert once per waiting state. |
161 if (lastAlert == lastWaiting) return; | 161 if (lastAlert == lastWaiting) return; |
162 lastAlert = lastWaiting; | 162 lastAlert = lastWaiting; |
163 | 163 |
164 print('No elements registered in a while, but still waiting on ' | 164 print('No elements registered in a while, but still waiting on ' |
165 '${waiting.length} elements to be registered. Check that you have a ' | 165 '${waiting.length} elements to be registered. Check that you have a ' |
166 'class with an @CustomTag annotation for each of the following tags: ' | 166 'class with an @CustomTag annotation for each of the following tags: ' |
167 '${waiting.map((e) => "'${e.attributes['name']}'").join(', ')}'); | 167 '${waiting.map((e) => "'${e.attributes['name']}'").join(', ')}'); |
168 }); | 168 }); |
169 } | 169 } |
OLD | NEW |