Skip to main content

Search and Top Navigation

#9209 closed bug (patcheswelcome)

Opened April 05, 2013 01:45AM UTC

Closed April 05, 2013 11:18AM UTC

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.

Attachments (0)
Change History (1)

Changed April 05, 2013 11:18AM UTC by scottgonzalez comment:1

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.