Opened 8 years ago

Last modified 6 years ago

#18128 assigned defect

query.NodeList() is not a function when !css3 is specified

Reported by: ChristianHeinrich Owned by: dylan
Priority: undecided Milestone: 1.15
Component: Query Version: 1.10.0
Keywords: Cc:
Blocked By: Blocking:


Apparently something is going wrong - if "!css3" is left out, everything works as expected.

This code breaks, resulting in "TypeError?: query.NodeList? is not a function"

require(["dojo/query!css3"], function(query) {

but this works just fine:

require(["dojo/query"], function(query) {

I created a jsfiddle:

Note that "query.NodeList?()" is explicitly mentioned in the docs:

However, dojo.NodeList?() still works in both cases. Is dojo.NodeList?() recommended? I only found this when looking at the source code...

Change History (2)

comment:1 Changed 7 years ago by dylan

Milestone: tbd1.12
Owner: set to dylan
Status: newassigned

Confirmed, will investigate for Dojo 1.12.

comment:2 Changed 6 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.