You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 11, 2021. It is now read-only.
The calculator util depends on underscore, but sometimes it tries to load before underscore has been loaded. They are both loaded on the same line (736 of khan-exercise.js):
I am unsure why they are not simply loaded in order, and why it doesn't happen every time. I'm also not sure if putting a dependency would help this or not.
The text was updated successfully, but these errors were encountered:
I was able to see this behavior too, but only very rarely and I couldn't figure out how to reproduce it consistently. No idea why these wouldn't be loaded in order. Though it's entirely likely this would never happen in prod because in prod, underscore.js is loaded as part of shared-package, and calculator.js is part of exercise-content-package. Though I really don't understand all the mechanisms going on with how it's all loaded.
The calculator util depends on underscore, but sometimes it tries to load before underscore has been loaded. They are both loaded on the same line (736 of khan-exercise.js):
I am unsure why they are not simply loaded in order, and why it doesn't happen every time. I'm also not sure if putting a dependency would help this or not.
The text was updated successfully, but these errors were encountered: