Permalink
Browse files

Fucking code blocks

  • Loading branch information...
1 parent 443002a commit 2c3d769098be4fa8bef8f9a199fff5d746e08ea7 mde committed Aug 22, 2012
Showing with 15 additions and 15 deletions.
  1. +15 −15 README.md
View
@@ -167,25 +167,25 @@ Enumeration keys: Uppercase with underscores
1. Function-declarations / function-expressions (in general declarations should
be preferred to expressions):
- var checkForSecretDoors = function (race, level) {
- // Stuff for check here
- };
+ var checkForSecretDoors = function (race, level) {
+ // Stuff for check here
+ };
- function checkForTraps(dexterity, level) {
- // Do stuff to check for traps here
- }
+ function checkForTraps(dexterity, level) {
+ // Do stuff to check for traps here
+ }
2. If statements:
- if (gotInitiative) {
- attackDragon();
- }
- else if (speaksDragon) {
- tryNegotiating();
- }
- else {
- runAway();
- }
+ if (gotInitiative) {
+ attackDragon();
+ }
+ else if (speaksDragon) {
+ tryNegotiating();
+ }
+ else {
+ runAway();
+ }
3. For statements:

0 comments on commit 2c3d769

Please sign in to comment.