examples/xbox360/xbox360.js
Function work
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
work: function(my) {
["a", "b", "x", "y"].forEach(function(button) {
console.log("Registered listener:", button);
my.controller.on(button + ":press", function() {