app/assets/javascripts/kea/components/confirmation_button.js in kea-rails-1.0.5 vs app/assets/javascripts/kea/components/confirmation_button.js in kea-rails-1.0.6

- old
+ new

@@ -9,24 +9,24 @@ template: '<!-- ko template: { nodes: $componentTemplateNodes } --><!-- /ko -->' }); })(ko, $); -(function(ko, $) { - "use strict"; +// (function(ko, $) { +// "use strict"; - ko.components.register('confirmation-button', { - viewModel: { - createViewModel: function createViewModel(params, componentInfo) { - var ConfirmationButtonVm; +// ko.components.register('confirmation-button', { +// viewModel: { +// createViewModel: function createViewModel(params, componentInfo) { +// var ConfirmationButtonVm; - ConfirmationButtonVm = function ConfirmationButtonVm(params) { +// ConfirmationButtonVm = function ConfirmationButtonVm(params) { - }; +// }; - return new ConfirmationButtonVm(params); - } - }, - template: 'x' - }); +// return new ConfirmationButtonVm(params); +// } +// }, +// template: 'x' +// }); -})(ko, $); +// })(ko, $); \ No newline at end of file