forked from Botanical/BotanJS
Removed old impl
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
, led = null
|
||||
|
||||
, ticking = function () {
|
||||
if( debugEnv )
|
||||
if( window[ "debugEnv" ] )
|
||||
{
|
||||
time_txt.innerHTML = ( sTick.count - cycle ) + " cps, Sampling " + sampling + "ms";
|
||||
cycle = sTick.count;
|
||||
@@ -130,12 +130,13 @@
|
||||
var autoHide = function () { this.style.top = ""; }.bind(stage);
|
||||
Cycle.perma('gTicker' + Perf.uuid, ticking, sampling);
|
||||
Cycle.perma('gTicker' + Perf.uuid, autoHide, 3000);
|
||||
debugEnv = true;
|
||||
window[ "debugEnv" ] = true;
|
||||
|
||||
ticking();
|
||||
|
||||
var f9Binding = function ( e )
|
||||
{
|
||||
var code;
|
||||
e = e || window.event;
|
||||
if ( e.keyCode ) code = e.keyCode;
|
||||
else if ( e.which ) code = e.which;
|
||||
@@ -167,7 +168,7 @@
|
||||
// This will output the debug info
|
||||
if( window["debug_info"] )
|
||||
{
|
||||
debug.Info( objTreeView( debug_info, 0, "[Server] " ) );
|
||||
debug.Info( objTreeView( window[ "debug_info" ], 0, "[Server] " ) );
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user