Sha256: 9efcbe57d8663bbf8c566b8a05702212f88f96ab19fc807d53125dd879a458fd

Contents?: true

Size: 313 Bytes

Versions: 29

Compression:

Stored size: 313 Bytes

Contents

$(document).ready(function() {

  $.ajax({
    type: "GET",
    url: "/api/status",
    success: function(data) {
      var active_teams_count = data.active_teams_count;
      $('#active_teams_count').hide().text(
        active_teams_count + " registered active teams!"
      ).fadeIn('slow');
    },
  });

});

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
slack-ruby-bot-server-0.6.1 public/scripts/stats.js
slack-ruby-bot-server-0.6.0 public/scripts/stats.js
slack-ruby-bot-server-0.5.0 public/scripts/stats.js
slack-ruby-bot-server-0.4.0 public/scripts/stats.js
slack-ruby-bot-server-0.3.1 public/scripts/stats.js
slack-ruby-bot-server-0.3.0 public/scripts/stats.js
slack-ruby-bot-server-0.2.0 public/scripts/stats.js
slack-ruby-bot-server-0.1.1 public/scripts/stats.js
slack-ruby-bot-server-0.1.0 public/scripts/stats.js