recurse / rdfquery

Automatically exported from code.google.com/p/rdfquery
0 stars 0 forks source link

Compatibility with jQuery 1.4 #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download jquery-1.4.2-min.js into the demos folder
2. In demos/markup/markup.html, replace the reference to jquery-1.3.min.js
with jquery-1.4.2-min.js. Add console.log($('#content').rdf().databank)
just inside $(document).ready();
3. Open markup.html in the browser

What is the expected output? What do you see instead?
Expected: Databank with 14 triples.
Actual: Databank with 0 triples.

What version of the product are you using? On what operating system?
rdfQuery trunk from subversion, Firefox 3.6, Ubuntu 9.10

Original issue reported on code.google.com by eaton....@gmail.com on 28 Feb 2010 at 4:28

GoogleCodeExporter commented 9 years ago
Or replace jquery-1.3 with jquery-1.4.2 in tests/jquery and run the tests as 
usual.

Original comment by eaton....@gmail.com on 1 Mar 2010 at 11:34

GoogleCodeExporter commented 9 years ago
Here's a patch to make rdfquery work with jquery-1.4.2. All the unit tests now 
pass. I've done no testing beyond that, but they look comprehensive.

jQuery version 1.4 changed the behaviour of data() and unique(). data() now 
returns null instead of undefined, and unique now sorts the results, and is 
intended for use just on DOM elements of the document.

Original comment by dayers on 9 Aug 2010 at 4:01

Attachments:

GoogleCodeExporter commented 9 years ago
Applied patch from dayers

Original comment by d.j.lamb...@gmail.com on 30 Nov 2010 at 2:28