How to use the ajax function from backbone

Find comprehensive JavaScript backbone.ajax code examples handpicked from public code repositorys.

47
48
49
50
51
52
53
54
55
56
 * Rebuild this project.
 * @returns {object} jqXHR object
 **/
build: function() {
  this.set('status', 'building');
  return Backbone.ajax({
    dataType: 'json',
    type: 'GET',
    url: this.url() + '/build'
  });
fork icon37
star icon414
watch icon145

+ 17 other calls in file