WikiNets icon indicating copy to clipboard operation
WikiNets copied to clipboard

Create Definitive Style Guide

Open vpontis opened this issue 12 years ago • 3 comments

HTML id/class should be lowercase-and-hyphenated CoffeeScript variables should be CamelCase etc.

vpontis avatar Mar 03 '14 02:03 vpontis

@ydaniv

Garbash avatar Mar 03 '14 12:03 Garbash

@backens, for now can we use lower case and hyphens for all HTML/CSS ids and classes. I think that is the standard most places on the web.

vpontis avatar Mar 03 '14 22:03 vpontis

Also, why do we have $ in front of a lot of variables in CoffeeScript such as in TopBarCreate.coffee. We have @$nodeWrapper but why not just have @nodeWrapper. The dollar-sign does not do anything special in CoffeeScript when not used as a shortcut for jQuery. @backens @willzeng

vpontis avatar Mar 03 '14 22:03 vpontis