diff --git a/scripts/ui.js b/scripts/ui.js index f2cfd13..46718b6 100644 --- a/scripts/ui.js +++ b/scripts/ui.js @@ -136,9 +136,16 @@ log: function( text ) { $console.text( - $console.text() + "\n" + text + $console.text() + text + "\n" ); - } + }, + + warn: function( text ) + { + $console.text( + $console.text() + "[Warning] " + text + "\n" + ); + }, }; ( function( console )