Opened 6 years ago

Closed 6 years ago

#17971 closed defect (worksforme)

conflict dojo.require and Socket.io client

Reported by: milad Owned by:
Priority: undecided Milestone: 1.10
Component: General Version: 1.8.6
Keywords: Cc:
Blocked By: Blocking:

Description

I use dojo 1.8.6 and socket.io 0.9.16, after I load socket.io.js client, dojo.require conflict is happened and no more dojo module can load.

require([ 'socket.io/socket.io' ]) cause error.

TypeError?: Cannot read property 'push' of undefined

I can't use "dojox/socket" for some reason.

Anybody have any idea?


i ask this question at http://stackoverflow.com/questions/23456730/conflict-dojo-require-and-socket-io-client

Change History (1)

comment:1 Changed 6 years ago by dylan

Milestone: tbd1.10
Resolution: worksforme
Status: newclosed

I've answered your question on stack overflow. I don't believe this is a bug, so much as misunderstanding what to specify inside the dependencies array of require.

Note: See TracTickets for help on using tickets.