Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9890 closed defect (invalid)

dojo.NodeList-html and dojo.NodeList-fx dependency

Reported by: vovasty Owned by: James Burke
Priority: high Milestone: tbd
Component: General Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:

Description

witch shinking profile

dependencies = {
        layers: [
                {
                        name: "dojo.js",
                        customBase: true,
                        dependencies: [
                                "pf.common"
                        ]
                }
        ]

pf.common.js

dojo.provide('pf.common');

dojo.require("dojo.NodeList-html");

I was received error *qlc not a constructor* at page load. Its because of dojo.NodeList?-html putted before dojo.query in shrinked file.

Change History (4)

comment:1 Changed 10 years ago by dante

Owner: changed from anonymous to James Burke

are you trying to build a full dojo.js + layer, or intentionally a customBase (trying to omit things that may not be needed / loaded on the fly?)

comment:2 Changed 10 years ago by vovasty

with custom layer everything is ok (qujo.query in this case will be inside dojo.js). This bug only with customBase

comment:3 Changed 10 years ago by James Burke

Resolution: invalid
Status: newclosed
dependencies = {
        layers: [
                {
                        name: "dojo.js",
                        customBase: true,
                        dependencies: [
                                "dojo.NodeList-html"
                        ]
                }
        ]
}

and I can load that built dojo in a page (no errors on page load). If you have a specific API call you do after the page loads that causes the error, feel free to attach an HTML test case and reopen.

comment:4 Changed 10 years ago by James Burke

I should say, I used the latest 1.4 trunk code, so some of those changes may have already fixed the issue.

Note: See TracTickets for help on using tickets.