Skip to content

cycle2 & center incompatible with JQuery 3.0.0 #778

@tmb-github

Description

@tmb-github

The indexOf operator that is employed in cycle2 and center's code is causing conflicts with JQuery 3.0.0...apparently this has to do with $(window).load(function() { ... }); vs $(window).on('load', function() { ... }); elsewhere in the code, and parameters passed to:

r.fn.load = function(a, b, c) {
var d, e, f, g = this, h = a.indexOf(" ");

...in the minified version are throwing a "a.indexOf is not a function" type error, presumably where "a" is related to the loading. See this StackOverflow article for more info:

https://stackoverflow.com/questions/37738732/jquery-3-0-url-indexof-error

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