Spree.Views.Cart.EmptyCartButton = Backbone.View.extend({
  initialize: function() {
    this.listenTo(this.collection, 'update', this.render);
    this.render();
  },

  events: {
    "click": "onClick"
  },

  onClick: function(e) {
    e.preventDefault()
    if (!confirm(Spree.translations.are_you_sure_delete)) {
      return;
    }

    this.model.empty({
      success: () => {
        this.collection.reset()
        this.collection.push({})
      }
    })
  },

  render: function() {
    var isNew = function (item) { return item.isNew() };
    this.$el.prop("disabled", !this.collection.length || this.collection.some(isNew));
  }
});

@@ -374,13 +374,19 @@
 ss: 
-() =%3E
+function ()
  %7B%0A 
@@ -456,16 +456,27 @@
 %0A      %7D
+.bind(this)
 %0A    %7D)%0A

Convert ES6 arrow syntax to ES5 for compatibility