Better logging

This commit is contained in:
Jermolene
2014-01-26 18:53:31 +00:00
parent 37ca86ff3d
commit 3f9561dd95
5 changed files with 57 additions and 28 deletions
-9
View File
@@ -46,15 +46,6 @@ if($tw.node) {
/////////////////////////// Utility functions
/*
Log a message
*/
$tw.utils.log = function(/* args */) {
if(console !== undefined && console.log !== undefined) {
return Function.apply.call(console.log, console, arguments);
}
};
/*
Check if an object has a property
*/