Skip to content
Snippets Groups Projects
Commit 6e13c432 authored by vas's avatar vas
Browse files

fix bad class declarations

parent 235abe40
No related branches found
No related tags found
2 merge requests!2176Pregmod master ra rework,!2047RA rework
...@@ -8,9 +8,7 @@ ...@@ -8,9 +8,7 @@
window.rulesAssistantOptions = (function() { window.rulesAssistantOptions = (function() {
"use strict"; "use strict";
let V; let V;
let r = "";
function rulesAssistantOptions(element) { function rulesAssistantOptions(element) {
V = State.variables; V = State.variables;
...@@ -711,7 +709,7 @@ window.rulesAssistantOptions = (function() { ...@@ -711,7 +709,7 @@ window.rulesAssistantOptions = (function() {
} }
} }
class AssignmentInclusion extends ButtonList() { class AssignmentInclusion extends ButtonList {
constructor() { constructor() {
super("Apply to assignments"); super("Apply to assignments");
["Rest", "Fucktoy", "Subordinate Slave", "House Servant", "Confined", "Whore", "Public Servant", "Classes", "Milked", "Gloryhole"].forEach( ["Rest", "Fucktoy", "Subordinate Slave", "House Servant", "Confined", "Whore", "Public Servant", "Classes", "Milked", "Gloryhole"].forEach(
...@@ -738,7 +736,7 @@ window.rulesAssistantOptions = (function() { ...@@ -738,7 +736,7 @@ window.rulesAssistantOptions = (function() {
} }
} }
class FacilityInclusion extends ButtonList() { class FacilityInclusion extends ButtonList {
constructor() { constructor() {
super("Apply to assignments"); super("Apply to assignments");
const facilities = []; const facilities = [];
...@@ -1215,7 +1213,7 @@ window.rulesAssistantOptions = (function() { ...@@ -1215,7 +1213,7 @@ window.rulesAssistantOptions = (function() {
["Full-term with septuplets", 105000], ["Full-term with septuplets", 105000],
["Full-term with octuplets", 120000] ["Full-term with octuplets", 120000]
]; ];
super("Belly implant target volume (if present)"); super("Belly implant target volume (if present)", pairs);
this.setValue(V.currentRule.set.bellyImplantVol); this.setValue(V.currentRule.set.bellyImplantVol);
this.onchange = (value) => V.currentRule.set.bellyImplantVol = value; this.onchange = (value) => V.currentRule.set.bellyImplantVol = value;
} }
...@@ -2106,7 +2104,7 @@ window.rulesAssistantOptions = (function() { ...@@ -2106,7 +2104,7 @@ window.rulesAssistantOptions = (function() {
} }
} }
class EarPiecingList extends List { class EarPiercingList extends List {
constructor() { constructor() {
const pairs = [ const pairs = [
["No default setting", "no default setting"], ["No default setting", "no default setting"],
...@@ -2217,7 +2215,7 @@ window.rulesAssistantOptions = (function() { ...@@ -2217,7 +2215,7 @@ window.rulesAssistantOptions = (function() {
} }
} }
class CliptPiercingList extends List { class ClipPiercingList extends List {
constructor() { constructor() {
const pairs = [ const pairs = [
["No default setting", "no default setting"], ["No default setting", "no default setting"],
...@@ -2919,4 +2917,6 @@ window.rulesAssistantOptions = (function() { ...@@ -2919,4 +2917,6 @@ window.rulesAssistantOptions = (function() {
this.onchange = (value) => V.currentRule.set.surgery_hair = value; this.onchange = (value) => V.currentRule.set.surgery_hair = value;
} }
} }
return rulesAssistantOptions
})(); })();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment