gvas / knockout-jqueryui

Knockout bindings for the jQuery UI widgets.
http://gvas.github.com/knockout-jqueryui/
MIT License
103 stars 38 forks source link

TypeError: undefined is not an object (evaluating 't.jQuery.ui.core') #63

Closed markusuntera closed 6 years ago

markusuntera commented 6 years ago

I'm quite new in requirejs. Everything works fine, when not optimized, but I get that error after optimizing with r.js. I think it's because jquery-ui is AMD compatible and is not loaded when kojqui asks for it. Have tried shim thing and everything I could google.

markusuntera commented 6 years ago

OK, found it finally. Had to set "wrapShim: true".