Opened 7 years ago

Closed 7 years ago

#9209 closed bug (patcheswelcome)

Error in jQueryUI when testing with Zombie

Reported by: Lacek Owned by:
Priority: minor Milestone: none
Component: ui.core Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:

Description

I am writing a Node.js web app that uses jQueryUI and is testing with Mocha and Zombie.

I am using library hosted by Google: http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.js

An error occurs when loading jQueryUI in a test case

Zombie: GET http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.js => 200
Zombie: Cannot call method 'indexOf' of undefined TypeError: Cannot call method 'indexOf' of undefined
    at /ajax/libs/jqueryui/1.10.2/jquery-ui.js:4889:50
    at /ajax/libs/jqueryui/1.10.2/jquery-ui.js:5416:3
    at /ajax/libs/jqueryui/1.10.2/jquery-ui.js:6024:3
...

The problem remains with jQuery 1.9.x and 1.10.x but disappears with 1.8.x (and maybe earlier versions).

I wonder if this is the problem with Zombie or jQueryUI.

Change History (1)

comment:1 Changed 7 years ago by Scott González

Resolution: patcheswelcome
Status: newclosed

Feel free to track down the problem. If you find something we can change in jQuery UI, we'll gladly review a pull request.

Note: See TracTickets for help on using tickets.