diff options
| author | Mohammad Amoush <mohammad_amoush@brown.edu> | 2019-07-16 12:37:04 -0400 |
|---|---|---|
| committer | Mohammad Amoush <mohammad_amoush@brown.edu> | 2019-07-16 12:37:04 -0400 |
| commit | 3593c1c4a67e8fb398e5a456ad4d758305294625 (patch) | |
| tree | 298032f2606388ee510e8bb6c7627b1424d3a3e1 /src | |
| parent | 95a58544cfd3d9baa824b07eec8fa8a63f2f8c8a (diff) | |
Uncommented code
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/views/presentationview/PresentationElement.tsx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/client/views/presentationview/PresentationElement.tsx b/src/client/views/presentationview/PresentationElement.tsx index 733bbff13..55bcbfcd7 100644 --- a/src/client/views/presentationview/PresentationElement.tsx +++ b/src/client/views/presentationview/PresentationElement.tsx @@ -142,7 +142,6 @@ export default class PresentationElement extends React.Component<PresentationEle } if (!foundDoc) { - //console.log("Adding a new fucker!!"); let newDoc = new Doc(); let defaultBooleanArray: boolean[] = new Array(6); newDoc.selectedButtons = new List(defaultBooleanArray); @@ -151,20 +150,6 @@ export default class PresentationElement extends React.Component<PresentationEle this.backUpDoc = newDoc; } - // if (castedList.length <= this.props.index) { - // let newDoc = new Doc(); - // let defaultBooleanArray: boolean[] = new Array(6); - // newDoc.selectedButtons = new List(defaultBooleanArray); - // castedList.push(newDoc); - // //otherwise update the selected buttons depending on storage. - // } else { - // let curDoc: Doc = await castedList[this.props.index]; - // let selectedButtonOfDoc = Cast(curDoc.selectedButtons, listSpec("boolean"), null); - // if (selectedButtonOfDoc !== undefined) { - // runInAction(() => this.selectedButtons = selectedButtonOfDoc); - // } - // } - } /** |
