| Index: compiler/lib/implementation/print.js
|
| diff --git a/compiler/lib/implementation/print.js b/compiler/lib/implementation/print.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d9334b5da7f3fb59bf4203d1d62d410e105673e5
|
| --- /dev/null
|
| +++ b/compiler/lib/implementation/print.js
|
| @@ -0,0 +1,14 @@
|
| +// Copyright (c) 2011, 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.
|
| +
|
| +function native__Logger__printString(str) {
|
| + if (isolate$workerPrint) {
|
| + isolate$workerPrint(str);
|
| + } else if (this.console) {
|
| + this.console.log(str);
|
| + } else if (this.write) {
|
| + this.write(str);
|
| + this.write('\n');
|
| + }
|
| +}
|
|
|