Added console.warn() output to dialog and placed newline after input, rather than before (to remove awkward newline)
parent
bdc4c37b21
commit
b837b2179a
|
@ -136,9 +136,16 @@
|
||||||
log: function( text )
|
log: function( text )
|
||||||
{
|
{
|
||||||
$console.text(
|
$console.text(
|
||||||
$console.text() + "\n" + text
|
$console.text() + text + "\n"
|
||||||
);
|
);
|
||||||
}
|
},
|
||||||
|
|
||||||
|
warn: function( text )
|
||||||
|
{
|
||||||
|
$console.text(
|
||||||
|
$console.text() + "[Warning] " + text + "\n"
|
||||||
|
);
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
( function( console )
|
( function( console )
|
||||||
|
|
Loading…
Reference in New Issue