Index: frog/lib/corelib.dart |
=================================================================== |
--- frog/lib/corelib.dart (revision 3703) |
+++ frog/lib/corelib.dart (working copy) |
@@ -59,7 +59,7 @@ |
void _print(Object obj) native @'''if (typeof console == 'object') { |
if (obj) obj = obj.toString(); |
console.log(obj); |
-} else { |
+} else if (typeof write === 'function') { |
kasperl
2012/01/31 05:48:42
This looks good, but you need to remove the IE pat
|
write(obj); |
write('\n'); |
}''' { |