var _this = this;
$.get('/foo').then(function (d) {
  _this.setData(d);
});

Table of Contents

  1. 1 fail

1fail