tunapanda/h5p-standalone

jQuery.Deferred exception: "prototype" is read-only

Closed this issue ยท 3 comments

Hi,
It's been a few days that I'm having the following error in frame.bundle.js:
jQuery.Deferred exception: "prototype" is read-only
It happens with Interactive Books and Dialog Cards.
Any idea how to solve the same?

Hi,
I just changed the l.prototype variable to l.aaa in the frame.bundle.js file on the dialog cards. Unfortunately, frame.bundle.js of dialog cards and other modules are separate.

@pevaristo, the easiest (not best) way to go around this issue is by removing all "use strict;" statements from frame.bundle.js

We hope the open PR #118 fixing this issue will be merged as soon as possible.
You could also

  • clone this project
  • checkout refactor/ts_migration branch
  • install dependencies by running yarn install or npm i
  • compile/build yarn build. Use the /dist output files which contain the fix.

๐ŸŽ‰ This issue has been resolved in version 3.6.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€