Opened 11 years ago

Closed 11 years ago

#12789 closed defect (fixed)

has.js assumes require implements a has function

Reported by: bpburns Owned by: Rawld Gill
Priority: high Milestone: 1.7
Component: Core Version: 1.6.0
Keywords: Cc: Adam Peller
Blocked By: Blocking:


has.js declares a variables assigning it to require's has function. When using a third part loader such as requirejs there is no has function defined on require. A simple solution would be to check require.has for null or undefined and assign has to an empty function.

Change History (2)

comment:1 Changed 11 years ago by bill

Owner: set to Rawld Gill

comment:2 Changed 11 years ago by ben hockey

Resolution: fixed
Status: newclosed

this has already been mentioned in #12672 and was fixed in r24474

Note: See TracTickets for help on using tickets.