EverythingMe / ffos-notes

Notes App for FirefoxOS
5 stars 21 forks source link

Don't be afraid to use variables to break up long lines of code #13

Open nickdesaulniers opened 11 years ago

nickdesaulniers commented 11 years ago

Memory is cheap, maintaining code is not: Instead of passing an object literal in a nice one liner, the code is more readable if you declare the object on the previous line.

https://github.com/EverythingMe/ffos-notes/blob/87bd2b01c492ff01786a2228927d106aaa194193/js-binary/notes.js#L215