debug/example/browser.html
2012-02-01 12:14:41 -08:00

24 lines
390 B
HTML

<html>
<head>
<title>debug()</title>
<script src="../debug.js"></script>
<script>
debug.enable('*');
a = debug('worker:a');
b = debug('worker:b');
setInterval(function(){
a('doing some work');
}, 1000);
setInterval(function(){
a('doing some work');
}, 1200);
</script>
</head>
<body>
</body>
</html>