Quantcast

Lua coding best practices adds trailing commas table members.

Johnny C. Lam [05-14-14 - 00:37]
Lua coding best practices adds trailing commas table members.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1438 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleOptions.lua
diff --git a/OvaleOptions.lua b/OvaleOptions.lua
index 7e85285..2608cc0 100644
--- a/OvaleOptions.lua
+++ b/OvaleOptions.lua
@@ -336,7 +336,7 @@ local self_options =
 						},
 					},
 				},
-			}
+			},
 		},
 		code =
 		{
@@ -413,8 +413,8 @@ local self_options =
 						OvaleOptions.db.profile.code = code
 						OvaleOptions:SendMessage("Ovale_ScriptChanged")
 					end,
-				}
-			}
+				},
+			},
 		},
 		debug =
 		{
@@ -670,9 +670,9 @@ local self_options =
 						if Ovale.OvaleStance then Ovale.OvaleStance:DebugStances() end
 					end
 				},
-			}
-		}
-	}
+			},
+		},
+	},
 }
 --</private-static-properties>