text: import $ from 'jquery';
  import _ from 'underscore';
  import * as reconcile from 'reconcile.js';
  import View from 'girder/views/View';
  
  const MinervaView = View.extend({
      update(template) {
          var $new = $(template);
          var children = this.$el.children(0);
          if (!children.length) {
              this.$el.append($new);
              return false;
          } else {
              var changes = reconcile.diff($new[0], this.$el.children(0)[0]);
              reconcile.apply(changes, this.$el.children(0)[0]);
              if (_.some(changes, { name: 'checked' })) {
                  this.$el.find('input:checkbox').each((i, el) => {
                      el.checked = !!$(el).attr('checked');
                  });
              }
              return true;
          }
      }
  });
  export default MinervaView;
  