Tabslet
Tabslet copied to clipboard
"Strict mode does not allow function declarations in a lexically nested statement."
This happens in safari (and possibly other browsers, haven't yet verified) with regard to the "deep_link" function. Blocks loading of widget.
https://www.dropbox.com/s/l376b85xh43apfe/Screenshot%202016-04-08%2019.39.25.png?dl=0
https://github.com/vdw/Tabslet/blob/master/jquery.tabslet.js#L176
According to spec, using strict mode, functions cannot be declared within any logic blocks, and this is currently being declared within an if block.
Commenting out strict mode works just fine, but I didn't want to submit that as a fix because that sucks.
I have the same issue in Safari desktop/mobile and have temporarily commented it out to fix the issue.