ericadamski / collaborative-edit

A collaboration package for the Atom Text Editor ( REMOVED FROM ATOM, for now, due to many errors )
MIT License
2 stars 1 forks source link

Variable initialization #6

Closed Sieniawsky closed 9 years ago

Sieniawsky commented 9 years ago

Variable initialization as seen here is not needed since CoffeeScript implicitly creates variables upon first use in code. Only structures such as empty arrays or objects should be initialized.

ericadamski commented 9 years ago

In most cases this is true, and I fixed these cases where I could, but there is a few non-array non-object variables that needed initialization.