statebus 6.1.8 → 6.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/statebus.js +4 -3
package/package.json
CHANGED
package/statebus.js
CHANGED
|
@@ -2205,10 +2205,11 @@
|
|
|
2205
2205
|
console.log.apply(console, arguments)
|
|
2206
2206
|
}
|
|
2207
2207
|
function statelog (key, color, icon, message) {
|
|
2208
|
-
if (bus.honking_colors === false)
|
|
2209
|
-
color = ''
|
|
2210
2208
|
if (honking_at(key))
|
|
2211
|
-
|
|
2209
|
+
if (bus.honking_colors === false)
|
|
2210
|
+
indented_log(icon + ' ' + message)
|
|
2211
|
+
else
|
|
2212
|
+
indented_log(color + icon + ' ' + message + normal_color)
|
|
2212
2213
|
}
|
|
2213
2214
|
function honking_at (key) {
|
|
2214
2215
|
return (bus.honk instanceof RegExp
|