crcastle/collaborative-code-conference

View on GitHub

Showing 2 of 101 total issues

Function loadGistModal has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

Gister.prototype.loadGistModal = function() {
  var frame = document.querySelector('#gistModal');
  var modalBody   = '<p>What is the gist URL? All text in the editor will be '
                    +'replaced with the gist content.</p>'
                    +'<input style="width: 100%;" id="gist-url" type="text">';
Severity: Major
Found in src/client/gister.js - About 2 hrs to fix

Function clientConnected has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function clientConnected() {
  // document.getElementById('invite-controls').style.display = 'block';
  console.log("Connected to Twilio. Listening for incoming Invites as '", conversationsClient.identity, "'");

  conversationsClient.on('invite', function (invite) {
Severity: Minor
Found in src/client/webrtc.js - About 1 hr to fix
Severity
Category
Status
Source
Language