OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 function native_Window__postMessage(message, origin) { | 5 // WARNING: Do not edit - generated code. |
6 window.postMessage(message, origin); | 6 |
| 7 interface $ID$EXTENDS { |
| 8 |
| 9 // TODO(nweiz): add this back once DocumentFragment is ported. |
| 10 // ElementList queryAll(String selectors); |
| 11 |
| 12 $!MEMBERS |
7 } | 13 } |
8 | |
9 function native_HTMLBodyElement__innerHTML(html) { | |
10 document.body.innerHTML = html; | |
11 } | |
OLD | NEW |