dailyjs-survey icon indicating copy to clipboard operation
dailyjs-survey copied to clipboard

Flaws in code style examples

Open cspotcode opened this issue 10 years ago • 2 comments

The linked markdown file showing examples of the various code styles seems to be a bit mixed up. For example, the "semicolons" and "no semicolons" examples both lack semicolons.

Additionally, one of the code styles is while (1){ where I would assume the two prevailing styles are while(1) { and while (1) {. I could be wrong about this one, but I figure since there are other mistakes in the style examples, perhaps this is a mistake as well?

cspotcode avatar Dec 01 '14 18:12 cspotcode

I made PR in which I added semicolons: https://github.com/alexyoung/dailyjs-survey/pull/28

hex13 avatar Dec 01 '14 19:12 hex13

Thanks

alexyoung avatar Dec 05 '14 11:12 alexyoung