felixge / felixge/nodeguide.com

Code Conventions / Var declaration

Abierto
#23 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
CSS
Estrellas
368
Forks
40
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I've read your comment about Crockforf and followed the link and he also says to use var the same way as you do :-)
"It is preferred that each variable be given its own line and comment. They should be listed in alphabetical order.

```
var currentEntry; // currently selected table entry
var level; // indentation level
var size; // size of table
```

"
I copied this code to JSLint and it passes. Seems Crockford changed his mind :-)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.