expose scope of js util as part of return object

This commit is contained in:
Felix Hamann 2019-03-03 21:54:43 +01:00
parent b225e6a5ba
commit bd334c73d5
11 changed files with 17 additions and 4 deletions

View File

@ -89,6 +89,7 @@
alertElements.forEach(initAlert);
return {
scope: alertsEl,
destroy: function() {},
};
};

View File

@ -57,6 +57,7 @@
initAsidenavSubmenus();
return {
scope: asideEl,
destroy: function() {},
};
};

View File

@ -58,6 +58,7 @@
setup();
return {
scope: formElement,
destroy: function() {},
};
};

View File

@ -225,6 +225,7 @@
init();
return {
scope: wrapper,
destroy: destroyUtils,
};
};

View File

@ -159,6 +159,7 @@
setup();
return {
scope: formElement,
destroy: function() {},
};
}

View File

@ -124,6 +124,7 @@
init();
return {
scope: wrapper,
destroy: destroy,
};
};

View File

@ -54,6 +54,7 @@
}
return {
scope: form,
destroy: destroyUtils,
};
};
@ -97,6 +98,7 @@
}
return {
scope: form,
destroy: function() {},
};
};
@ -138,6 +140,7 @@
}
return {
scope: form,
destroy: function() {},
};
};
@ -149,6 +152,7 @@
}
return {
scope: form,
destroy: function() {},
};
};

View File

@ -44,6 +44,7 @@
}
return {
scope: wrapper,
destroy: destroyUtils,
};
};
@ -135,6 +136,7 @@
});
return {
scope: input,
destroy: function() {},
};
}
@ -169,6 +171,7 @@
setup();
return {
scope: input,
destroy: function() {},
};
}
@ -195,6 +198,7 @@
}
return {
scope: input,
destroy: function() {},
};
}
@ -218,6 +222,7 @@
}
return {
scope: input,
destroy: function() {},
};
}

View File

@ -146,6 +146,7 @@
}
return {
scope: modalElement,
destroy: destroyUtils,
};
};

View File

@ -70,6 +70,7 @@
});
return {
scope: wrapper,
destroy: function() {},
};
};

View File

@ -86,9 +86,5 @@
$(t).tabgroup();
});
}
return {
destroy: function() {},
};
});
})($);