Extension example parsing - #70
Conversation
…nsions property, detect extensions in initJsPsych and produce error when extension is registered but never used in a trial
…l var name or extensions property)
…y with more test example files
|
jadeddelta
left a comment
There was a problem hiding this comment.
sorry for the delay, this looks great! i think you basically covered everything i asked for, just broadening the auto-infer process to include objects that mention the extension type. i'll get this merged up, thank you so much again!
Fixes #60
@jadeddelta this is my attempt at doing what you suggested here, namely:
Any feedback is welcome, but in particular - I'm not entirely sure that I got the intended behavior right. Maybe the first thing to do is have a look at my test example files and the test assertions on each, to see if that's how you think the parser should handle each case? Happy to make changes!