diff options
| -rw-r--r-- | package.json | 4 | ||||
| -rw-r--r-- | src/client/views/presentationview/PresentationElement.tsx | 15 |
2 files changed, 2 insertions, 17 deletions
diff --git a/package.json b/package.json index dc829a045..7aff71b57 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "ts-node-dev": "^1.0.0-pre.32", "tslint": "^5.15.0", "tslint-loader": "^3.5.4", - "typescript": "^3.4.1", + "typescript": "^3.5.3", "webpack": "^4.29.6", "webpack-cli": "^3.2.3", "webpack-dev-middleware": "^3.6.1", @@ -196,4 +196,4 @@ "uuid": "^3.3.2", "xoauth2": "^1.2.0" } -}
\ No newline at end of file +} 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); - // } - // } - } /** |
