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); alertElements.forEach(initAlert);
return { return {
scope: alertsEl,
destroy: function() {}, destroy: function() {},
}; };
}; };

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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