OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 html; |
| 6 |
5 /** | 7 /** |
6 * Checks to see if the mutation observer API is supported on the current | 8 * Checks to see if the mutation observer API is supported on the current |
7 * platform. | 9 * platform. |
8 */ | 10 */ |
9 bool _isMutationObserverSupported() => | 11 bool _isMutationObserverSupported() => |
10 JS('bool', '!!(window.MutationObserver || window.WebKitMutationObserver)'); | 12 JS('bool', '!!(window.MutationObserver || window.WebKitMutationObserver)'); |
OLD | NEW |