mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-20 15:35:43 +02:00
added 2 more things to the style guide
This commit is contained in:
1 parent
b20f740d30
commit
7bf0481345
1 file changed
+6
@@ -24,3 +24,9 @@ We try to be quite consistent, but of course, that's not always possible.
|
|||||||
setTimeout(function () {
|
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