Skip to content

Commit

Permalink
Merge pull request #398 from BIDMCDigitalPsychiatry/gyroscope-game
Browse files Browse the repository at this point in the history
Gyroscope game
  • Loading branch information
sarithapillai8 authored Sep 5, 2024
2 parents 2c3ee21 + b1a0080 commit a0b1081
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion D-cog/src/components/dcogs/Board.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ class Board extends React.Component<BoardProps, BoardState> {
startTime: this.state.gameState === 1 ? new Date() : this.state.startTime,
successTaps: 0,
wrongTaps: 0,
boxCount: boxCount
boxCount: boxCount,
numbers: this.shuffleArray(numbers)
});

setTimeout(() => {
Expand Down
1 change: 1 addition & 0 deletions Survey/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import "./i18n"
const eventMethod = window.addEventListener ? "addEventListener" : "attachEvent"
const eventer = window[eventMethod]
const messageEvent = eventMethod === "attachEvent" ? "onmessage" : "message"

eventer(
messageEvent, (e) => {
ReactDOM.render(
Expand Down

0 comments on commit a0b1081

Please sign in to comment.