src/js/cms/ko-bindings/date-picker.js
function(element, valueAccessor, allBindings, viewModel, bindingContext) {
      var $element = $(element);
      var observable = valueAccessor();

      if (ko.unwrap(observable)) {
        $element.datepicker('update', observable.datePicker().format('DD.MM.YYYY')); // same as for .datepicker()));
      }
    }
function(element, valueAccessor, allBindings, viewModel, bindingContext) {
      var $element = $(element);
      var observable = valueAccessor();

      if (ko.unwrap(observable)) {
        $element.datepicker('update', observable.datePicker().format('DD.MM.YYYY')); // same as for .datepicker()));
      }
    }
function ( element , valueAccessor , allBindings , viewModel , bindingContext ) { var $element = $ ( element ) ; var observable = valueAccessor ( ) ; if ( ko . unwrap ( observable ) ) { $element . datepicker ( 'update' , observable . datePicker ( ) . format ( 'DD.MM.YYYY' ) ) ; // same as for .datepicker())); } }
from js => to "html"
from js = > to html