Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var subscribe = function subscribe() {
(0, _transition.addTransitionState)('attributeChanged', attributeChanged);
// Add a transition for every type.
keys(transitionsMap).forEach(function (name) {
var map = transitionsMap[name];
var transitionName = eventsToTransitionName[name] || name;
var handler = function handler(child) {
for (var _len = arguments.length, rest = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
rest[_key - 1] = arguments[_key];
}
// If there are no elements to match here, abort.
if (!map.size) {
return;
}