kendo-labs / knockout-kendo

A project to create a robust set of Knockout.js bindings for the Kendo UI widgets.
http://kendo-labs.github.com/knockout-kendo/
274 stars 144 forks source link

AMD and knockout-kendo #205

Open aersam opened 8 years ago

aersam commented 8 years ago

I use both, kendo and knockout-kendo.js in an AMD environment. I do not load kendo all in one but in several steps, eg Component A loads kendo.multiselect and Component B loads kendo.autocomplete etc. It happens often that knockout-kendo is loaded before all kendo files are loaded which leads to problems as not all Bindings are created. Therefore I propose to delete the following check in knockout-kendo.core.js (at least in an AMD environment):

if (!$()[widgetConfig.parent || widgetConfig.name]) {
            return;
 }
dazinator commented 7 years ago

I'm trying to get knockout-kendo working using RequireJs but am hitting some issues.. knockout-kendo is loading before kendo is available!

If there is any working same out there that would be very handy.