mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 16:04:14 +01:00
added 2 more things to the style guide
This commit is contained in:
6
HACKING
6
HACKING
@@ -24,3 +24,9 @@ We try to be quite consistent, but of course, that's not always possible.
|
||||
setTimeout(function () {
|
||||
...
|
||||
});
|
||||
|
||||
* Prefer // over /* */ comments (exceptions for big comments are usually ok)
|
||||
Right: if (HACK) // TODO: remove hack
|
||||
Wrong: if (HACK) /* TODO: remove hack */
|
||||
|
||||
* Use UNIX new lines (\n), not windows (\r\n) or old Mac ones (\r)
|
||||
|
||||
Reference in New Issue
Block a user