Khan / Khan/live-editor

mask and tint throwing errors in the live editor with PJS programs

Open
#746 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
776
Forks
180
PR merge metrics
No merged PRs in 30d

Description

Approx. two months ago `mask` and `tint` started throwing errors in PJS programs. Issue was with existing projects that were originally working fine, and any new projects.

Error message for `mask` is: `__env__.img.mask is not a function`
Error message for `tint` is: `Cannot read property '0' of undefined`

A lot of KA users have mentioned that they've logged the issue with KA support, but I haven't heard anything more about it, and issue persists. Just wondering if this has been logged in your internal issue tracker, and any status update?

My KA username is grantjenkins.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are identified. Start by reproducing the `mask` and `tint` errors in the live editor with PJS programs, then trace the failing calls from the reported messages. Done means both functions work for existing and newly created projects without either error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.