Including v1.1.1 in a RequireJS/TypeScript context always failed with Uncaught ReferenceError: jQueryCollapseSection is not defined @ jquery.collapse.js:34 because the exports weren't available when a particular constructor call (new jQueryCollapseSection($(this), _this);) was made.
Moved up the exports ahead of DOMReady to fix that.
Including v1.1.1 in a RequireJS/TypeScript context always failed with
Uncaught ReferenceError: jQueryCollapseSection is not defined @ jquery.collapse.js:34
because the exports weren't available when a particular constructor call (new jQueryCollapseSection($(this), _this);
) was made.Moved up the exports ahead of DOMReady to fix that.