OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 @HtmlImport('polymer.html') | 4 @HtmlImport('polymer.html') |
5 library polymer_interop.polymer_interop; | 5 library polymer_interop.polymer_interop; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:html'; | 8 import 'dart:html'; |
9 import 'dart:js' as js; | 9 import 'dart:js' as js; |
10 import 'package:web_components/web_components.dart'; | 10 import 'package:web_components/web_components.dart'; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 if (_polymerGestures != null) return true; | 93 if (_polymerGestures != null) return true; |
94 if (!outputPolymerGesturesError) { | 94 if (!outputPolymerGesturesError) { |
95 outputPolymerGesturesError = true; | 95 outputPolymerGesturesError = true; |
96 window.console.error('Unable to find PolymerGestures. Please make sure ' | 96 window.console.error('Unable to find PolymerGestures. Please make sure ' |
97 'you are waiting on initWebComponents() or initPolymer() before ' | 97 'you are waiting on initWebComponents() or initPolymer() before ' |
98 'attempting to use PolymerGestures.'); | 98 'attempting to use PolymerGestures.'); |
99 } | 99 } |
100 return false; | 100 return false; |
101 } | 101 } |
102 } | 102 } |
OLD | NEW |