Skip to content

Instantly share code, notes, and snippets.

@yohanboniface
Created March 2, 2014 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yohanboniface/da9a397c22334cf93b8b to your computer and use it in GitHub Desktop.
Save yohanboniface/da9a397c22334cf93b8b to your computer and use it in GitHub Desktop.
Component.onCompleted: {
console.log = function () {
function do_log (what) {
messageEdit.text = messageEdit.text + "\n" + what;
}
for (var i=0,l=arguments.length;i<l;i++) {
do_log(arguments[i]);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment