Skip to content

Commit

Permalink
Merge pull request #95 from Goff-Davis/issue/78-check-score-post-mess…
Browse files Browse the repository at this point in the history
…ages

#78 Add data type check for scorecore
  • Loading branch information
clpetersonucf authored Apr 3, 2020
2 parents d75127c + 9893d78 commit b8528b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/materia/materia.scorecore.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Namespace('Materia').ScoreCore = (() => {
let _widgetClass = null

const _onPostMessage = e => {
if (typeof e.data !== 'string') return
const msg = JSON.parse(e.data)
switch (msg.type) {
case 'initWidget':
Expand Down

0 comments on commit b8528b2

Please sign in to comment.