diff --git a/docs/custom-tab-layouts.md b/docs/custom-tab-layouts.md
index 09e0c47..1498b71 100644
--- a/docs/custom-tab-layouts.md
+++ b/docs/custom-tab-layouts.md
@@ -3,14 +3,14 @@
Custom tab layouts can be used to do basically anything in a tab window, especially combined with the "style" layer feature. The tabFormat feature is an array of things, like this:
`` tabFormat: ["main-display",
- ["prestige-button", function(){return "Melt your points into "}],
- ["raw-html", function() {return ""}],
- ["display-text",
+ ["prestige-button", function(){return "Melt your points into "}],
+ ["raw-html", function() {return ""}],
+ ["display-text",
function() {return 'I have ' + format(player.points) + ' pointy points!'},
{"color": "red", "font-size": "32px", "font-family": "Comic Sans MS"}],
- "blank",
- ["toggle", ["c", "beep"]],
- "milestones", "blank", "blank", "upgrades"] ``
+ "blank",
+ ["toggle", ["c", "beep"]],
+ "milestones", "blank", "blank", "upgrades"] ``
It is a list of components, which can be either just a name, or an array with arguments. If it's an array, the first item is the name of the component, the second is the data passed into it, and the third (optional) is a CSS object,
which applies its style to the component.
diff --git a/docs/milestones.md b/docs/milestones.md
index 4c128e6..3b7e1de 100644
--- a/docs/milestones.md
+++ b/docs/milestones.md
@@ -4,7 +4,7 @@ Milestones should be formatted like this:
``milestones: {
0: {
- requirementDesc: "123 waffles",
+ requirementDesc: "123 waffles",
}
etc
}``