danielstocks / jQuery-Collapse

A lightweight (~1kb) jQuery plugin that enables expanding and collapsing content
http://webcloud.se/jQuery-Collapse/
MIT License
679 stars 153 forks source link

Moved up the export to fix an issue with RequireJS/TypeScript-compiled code #82

Closed riy closed 7 years ago

riy commented 9 years ago

This is associated to #81, but happening in the storage code. It's the same issue: in RequireJS/TypeScript-compiled code the export happens too late and an undefined object is used before it was initialized properly.