src/extensions/samples/TypingSpeedLogger/main.js
Function initTypingSpeedLogging
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initTypingSpeedLogging() {
var editor = null,
inputField = null,
inProgress = false;
Function inputChangedHandler
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var inputChangedHandler = function () {
// CodeMirror's fastPoll will batch up input events into a consolidated change
if (inProgress) {
return;
}