Minor but breaking change to the way rtc-core/detect
is implemented. The new function signature now uses an opts
argument in second argument position, allowing prefixes to be specified through a prefixes
option.
Additionally and more importantly, the detect function no longer attaches a detected entity to the host object by default (see rtc-io/rtc#11 for reported global leaks by mocha) as this was unnecessary. If required, however, an attach: true
option can be specified to have the object/function attached to the host object.