hybridgroup/cylon-joystick

View on GitHub
examples/xbox360/xbox360.js

Summary

Maintainability
A
1 hr
Test Coverage

Function work has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  work: function(my) {
    ["a", "b", "x", "y"].forEach(function(button) {
      console.log("Registered listener:", button);

      my.controller.on(button + ":press", function() {
Severity: Minor
Found in examples/xbox360/xbox360.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status