chinchang / chinchang/screenlog.js

Empty `console.log` calls makes the logging untidy

Open
#14 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
854
Forks
71
PR merge metrics
No merged PRs in 30d

Description

Adding empty `console.log` calls makess the logging untidy.
The problem is that empty tags are being inserted, which is been accounted for in the odd-even check (`logEl.children.length % 2 ?`)

The solution would be either empty elements need to be logged and the odd-event color match or empty elements being skipped altogther.


![selection_002](https://cloud.githubusercontent.com/assets/4960329/11665763/0d5a2c28-9e0f-11e5-8e04-0b8ea1bf57a5.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.