I feel so dirty after this
/LH
/LH
@hazelnoot my eyes! the googles do nothing!
it looks like this could have been a job for regexp? Or would that be too great a performance hit?
@avatastic @hazelnoot you don't even need regex for this:
if (name.toLowerCase().startsWith('svg')) {
resolve(true)
}name.toLowerCase() === 'svg'