Skip to content

"Strict mode does not allow function declarations in a lexically nested statement." #41

@akisma

Description

@akisma

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions