Skip to content

Commit

Permalink
Merge pull request #96 from chilimangoes/pr-javascript-formatting
Browse files Browse the repository at this point in the history
Javascript CCR: more consistent code block formatting.
  • Loading branch information
synkarius committed Aug 28, 2015
2 parents aae5757 + cf7bbf7 commit 5e00f27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions caster/bin/data/ccr/configjavascript.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ cmd.map = {
# Spoken-form -> -> -> Action object

# CCR PROGRAMMING STANDARD
"iffae": R(Text("if (){}")+Key("left, enter:2, up"), rdescript="Javascript: If"),
"iffae": R(Text("if () {}")+Key("left, enter:2, up"), rdescript="Javascript: If"),
"shells": R(Text("else {}")+Key("left, enter:2, up"), rdescript="Javascript: Else"),
#
"switch": R(Text("switch(){}")+Key("left, enter:2, up"), rdescript="Javascript: Switch"),
"switch": R(Text("switch() {}")+Key("left, enter:2, up"), rdescript="Javascript: Switch"),
"case of": R(Text("case :")+Key("left"), rdescript="Javascript: Case"),
"breaker": R(Text("break;"), rdescript="Break"),
"default": R(Text("default: "), rdescript="Javascript: Default"),
Expand All @@ -37,7 +37,7 @@ cmd.map = {
#
# (no imports in javascript)
#
"function": R(Text("function NAME(){};")+Key("left:2, enter")
"function": R(Text("function NAME() {};")+Key("left:2, enter")
+SelectiveAction(Key("enter, up"), ["AptanaStudio3.exe"]),
rdescript="Javascript: Function"),
# (no classes in javascript)
Expand Down

0 comments on commit 5e00f27

Please sign in to comment.