There was an error while loading. Please reload this page.
1 parent 8d76196 commit 7cd9e53Copy full SHA for 7cd9e53
examples/browser/colors.html
@@ -8,13 +8,15 @@
8
debug.enable('*')
9
10
for (var i=0; i < debug.colors.length; i++) {
11
- debug('example:' + i)('The color is %o', debug.colors[i])
+ const d = debug('example:' + i);
12
+ d('The color is %o', d.color);
13
}
14
</script>
15
<style type="text/css">
16
body {
17
padding-top: 100px;
18
text-align: center;
19
+ font-family: sans-serif;
20
21
</style>
22
</head>
examples/node/colors.js
@@ -3,5 +3,6 @@ var debug = require('../../')
3
4
5
6
7
0 commit comments