dblock/slack-gamebot

View on GitHub
public/js/register.js

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

  if (code && game && (game == 'pong' || game == 'chess' || game == 'pool' || game == 'tic-tac-toe')) {
    PlayPlay.register();
    PlayPlay.message('Working, please wait ...');
    $.ajax({
      type: "POST",
Severity: Major
Found in public/js/register.js - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status