90 <li><a href="#event-battery-info">Battery</a></li> |
90 <li><a href="#event-battery-info">Battery</a></li> |
91 <li><a href="#event-messaging-info">Events</a></li> |
91 <li><a href="#event-messaging-info">Events</a></li> |
92 </ul> |
92 </ul> |
93 <div id="console" class="hide" style="height: 100%"> |
93 <div id="console" class="hide" style="height: 100%"> |
94 <span id="Console-Clear-Button"></span> |
94 <span id="Console-Clear-Button"></span> |
95 <div style="clear:left;"></div> |
|
96 <div id="preview-ui-bottom-body" class="Console"> |
95 <div id="preview-ui-bottom-body" class="Console"> |
97 <p id="hint">Use window.console object log, debug, info, warn and error methods |
96 <p id="hint">Use window.console object log, debug, info, warn and error methods |
98 to output debug information. All methods can format strings if supplied arguments |
97 to output debug information. All methods can format strings if supplied arguments |
99 in printf format.<br><b>Examples:</b></br> |
98 in printf format.<br/><b>Examples:</b><br/> |
100 <br> window.console.log('log %d', 123);</br> |
99 window.console.log('log %d', 123);<br/> |
101 <br> window.console.debug('debug %s', "string");</br> |
100 window.console.debug('debug %s', "string");<br/> |
102 <br> window.console.info('info %s', "string " + 123);</br> |
101 window.console.info('info %s', "string " + 123);<br/> |
103 <br> window.console.warn('warn %f', 123.456);</br> |
102 window.console.warn('warn %f', 123.456);<br/> |
104 <br> window.console.error('error');</br></p> |
103 window.console.error('error');</p> |
105 </div> |
104 </div> |
106 </div> |
105 </div> |
107 <div id="event-acceleration" class="hide"> |
106 <div id="event-acceleration" class="hide"> |
108 <table cellpadding='0' cellspacing='0' width="100%"> |
107 <table cellpadding='0' cellspacing='0' width="100%"> |
109 <tr> |
108 <tr> |