Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#2649 closed defect (fixed)

scope issues in dojo.query

Reported by: dylan Owned by: alex
Priority: high Milestone:
Component: Query Version: 0.4.2
Keywords: Cc:
Blocked By: Blocking:

Description

getTagName and getClassName cause scoping issues when creating a build with them in dojo.

getTagName is not defined
[Break on this error] var _807=getTagName(tqp);

for code like this:

var _807=getTagName(tqp);
_803+=_806+_807;
var id=_7e2(tqp);
if(id.length){
_803+="[@id='"+id+"']";
}
var cn=getClassName(tqp);
if(cn.length){
var _80a=" ";
if(cn.charAt(cn.length-1)=="*"){
_80a="";
cn=cn.substr(0,cn.length-1);
}

Change History (5)

comment:1 Changed 12 years ago by alex

(In [7801]) moving getTagName to before it's first use. Refs #2649

comment:2 Changed 12 years ago by alex

(In [7802]) more re-ordering to survive shrinksafe-ing. Refs #2649

comment:3 Changed 12 years ago by dylan

Resolution: fixed
Status: newclosed

fixed in #7802

comment:4 Changed 12 years ago by (none)

Milestone: 0.9M1

Milestone 0.9M1 deleted

comment:5 Changed 10 years ago by bill

Component: DOMQuery
Note: See TracTickets for help on using tickets.