The load of all the "require" modules are async, any module that requires a defined module will wait for it to load before loading.
@@ -15,8 +15,8 @@
// limitations under the License.
(function (factory) {
- if(typeof require === "function") {
- require(['knockout'], factory);
+ if(typeof define === "function") {
+ define("ko.hue-bindings", ["knockout"], factory);
} else {
factory(ko);
}