This causes a Reference error as key isn't defined... I want to be able to handle these cases (preferable just return an empty string). Any suggestions?
After reading through how this works I solved this by forking the library and putting all the tR+= into try catch. I’m not sure it affects performance but there’s no other work around as it is a reference error...
At the moment I want to use
useWith: true
. The problem is that it always throws a reference error when the reference doesn't exist.This causes a Reference error as key isn't defined... I want to be able to handle these cases (preferable just return an empty string). Any suggestions?