Skip to content
This repository has been archived by the owner on Jan 1, 2021. It is now read-only.

Commit

Permalink
Incorporate feedback from randomjunk and TomH
Browse files Browse the repository at this point in the history
  • Loading branch information
gravitystorm committed Dec 13, 2010
1 parent 55a9675 commit 9c0f9d3
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions CODING.txt
Expand Up @@ -17,12 +17,18 @@ package net.systemed.potlatch2.indentation {

class IndentedByFourSpaces {

public function IndentedByFourMoreSpaces:void {
if (indentedCodeWithinFunction) {
justIndentByTwoSpaces = true;
public function IndentedByFourMoreSpaces():void {
if (indentedCodeWithinFunctionHasTwoSpaceIndents) {
// lots of places in the codebase have two-space indents within functions
// like this. Don't mix and match like this example!
beConsistent = true;
} else {
shotAtDawn = true;
useFourSpaceIndents = true;
}
}
}
}

== MXML ==

* Indentation is like the wild west in there. Consistency is king.

0 comments on commit 9c0f9d3

Please sign in to comment.