Skip to content

Syntax errors in minified sources #1779

@mgol

Description

@mgol

Originally reported by Bergi at: http://bugs.jquery.com/ticket/15179

Both current versions ( 2.1.1,  1.11.1) have syntactic errors in their minified distribution files which prevents compilation in strict mode. Try to execute them when prefixed by "use strict":

Syntax error: FunctionDeclaration in Statement context

(If you're not sure what that means, have a look at  this StackOverflow question).

I'm not familiar with the build process, this might either be a bug in the minifier, or wrong usage of the minifier, or some problems with the custom build process of jQuery. If it's not your fault, please file an upstream bug with the used minifier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions