|
@@ -41,8 +41,8 @@ class Boot {
|
|
var d;
|
|
var d;
|
|
if( __js__("typeof")(document) != "undefined" && (d = document.getElementById("haxe:trace")) != null )
|
|
if( __js__("typeof")(document) != "undefined" && (d = document.getElementById("haxe:trace")) != null )
|
|
d.innerHTML += __unhtml(msg)+"<br/>";
|
|
d.innerHTML += __unhtml(msg)+"<br/>";
|
|
- else if( __js__("typeof")(console) != "undefined" && console.log != null )
|
|
|
|
- console.log(msg);
|
|
|
|
|
|
+ else if( __js__("typeof console") != "undefined" && __js__("console").log != null )
|
|
|
|
+ __js__("console").log(msg);
|
|
#end
|
|
#end
|
|
}
|
|
}
|
|
}
|
|
}
|