Skip to content

Multiple script definitions with same url will choose last definition regardless of name. #14

Open
@wforney

Description

@wforney

Multiple script definitions with same url will choose last definition regardless of name.

Example:

jQuery: {
    bare: true,
    url: aspnetcdn + "/jQuery/jquery-1.7.1.js",
    urlMin: aspnetcdn + "/jQuery/jquery-1.7.1.min.js",
    loaded: "!!window.jQuery"
},
jQuery171: {
    bare: true,
    url: aspnetcdn + "/jQuery/jquery-1.7.1.js",
    urlMin: aspnetcdn + "/jQuery/jquery-1.7.1.min.js",
   loaded: "window.checkjQueryVersion(171)"
},

defer call to jQuery will load jQuery171 definition script. This is not expected (loaded was different, causing test to fail in some cases, which was a bad thing)

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