mirror of
https://github.com/dart-lang/sdk
synced 2024-09-20 09:46:30 +00:00
b4cc366a70
R=johnniwinther@google.com Review URL: https://codereview.chromium.org//645513002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41070 260f80e4-7a28-3924-810f-c04153c831b5
11 lines
410 B
JavaScript
11 lines
410 B
JavaScript
// 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.
|
|
|
|
/// Unless overridden by a Zone, [print] in dart:core will call this function
|
|
/// if defined.
|
|
function dartPrint(message) {
|
|
console.log(message);
|
|
window.parent.postMessage(message, '*');
|
|
}
|