Applying RequireJS to bindings
Bindings are easy to convert. They just have jQuery and Knockout dependencies, as shown in the following manner:
define(['knockout','jquery'],function(ko, $){ //toggle binding ko.bindingHandlers.toggle = { ... }; ... });