multiple define error custom widget

2
Hi, I have 2 custom widgets. both are defining a JQuery library. with paths:   'Widget_1/lib/jquery-1.11.2.min' and                  'Widget_2/lib/jquery-1.11.2.min'   When I load the project I get a multiple define error on this library. What is the best approach to tackle this problem?
asked
2 answers
0

Best option is to remove jquery at all! 

https://github.com/mendix/AppStoreWidgetBoilerplate/issues/38

However this case both widget do bundle their own jQuery. Your multi define error could related to something else.

answered
0

Did you add the noConflict feature when loading both jQuery files? Search the forum and you will find multiple references on how to implement the noConflict feature into a jQuery library, resolving the multiDefine errors.

See for instance this forum question: 'How should jQuery plugins be incorporated into a widget?'

answered