mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-21 04:52:47 -05:00
663c220eaf
This heavily refactors SpellView and adds infrastructure for receiving and reporting Errors raised by the web-dev iFrame. The web-dev error system, the Aether error system, and the Ace html-worker avoid disturbing each others' errors/annotations (though currently Aether+web-dev errors won't coexist), and they clear/update their own asynchronously. Show web-dev iFrame errors as Ace annotations Add functional error banners (with poor messages) Improve error banners, don't allow duplicate Problems Refactor setAnnotations override Convert all constructor calls for Problems Add comments, clean up Clean up Don't clear things unnecessarily Clean up error message sending from iFrame Add web-dev:error schema Clarify error message attributes Refactor displaying AetherProblems Refactor displaying user problem banners Refactor onWebDevError Set ace styles on updating @problems Clean up, fix off-by-1 error Add comment Show stale web-dev errors differently Some web-dev errors are generated by "stale" code — code that's still running in the iFrame but doesn't have the player's recent changes. This shows those errors differently than if they weren't "stale", and suggests they re-run their code. Hook up web-dev event schema Destroy ignored duplicate problems Functionalize a bit of stuff Fix ProblemAlertView never loading |
||
---|---|---|
.. | ||
modal | ||
tome | ||
chat.sass | ||
control-bar-view.sass | ||
duel-stats-view.sass | ||
goals.sass | ||
gold.sass | ||
hints-view.sass | ||
hud.sass | ||
level-dialogue-view.sass | ||
level-flags-view.sass | ||
level-playback-view.sass | ||
loading.sass | ||
message.sass | ||
play-game-dev-level-view.sass | ||
play-web-dev-level-view.sass | ||
thang_avatar.sass | ||
web-surface-view.sass |