mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 13:08:10 +00:00
15c4d2e779
BUG=dartbug.com/20698 R=sigurdm@google.com Review URL: https://codereview.chromium.org//732533002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41794 260f80e4-7a28-3924-810f-c04153c831b5
16 lines
407 B
Dart
16 lines
407 B
Dart
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
library TwoScriptsTestFirst;
|
|
import 'dart:html';
|
|
|
|
aGlobalFunction() {
|
|
window.postMessage('first_global', '*');
|
|
}
|
|
|
|
main() {
|
|
window.postMessage('first_local', '*');
|
|
aGlobalFunction();
|
|
}
|