app/assets/javascripts/mosaics_show.js
Function undo
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var undo = function(instant) {
if (current >= 0) {
var records = stepRecord[current];
for (var key in records) {
var record = records[key];
- Create a ticketCreate a ticket
Function redo
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var redo = function(instant) {
if (current < stepRecord.length - 1) {
current++;
var records = stepRecord[current];
for (var key in records) {
- Create a ticketCreate a ticket
Function Step
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var Step = function(tile, ax, ay, az, bx, by, bz, instant) {
- Create a ticketCreate a ticket