src/models/state.js
Function lastChange
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function lastChange(opts) {
opts = opts || {};
var that = {};
- Create a ticketCreate a ticket
Function init
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(function init() {
switch (playState) {
case "PLAYING":
that.playState = playStateType.PLAYING;
break;
- Create a ticketCreate a ticket
Function fromXml
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
lastChange.fromXml = function (xmlString, callback) {
// Everything below the LastChange tag is URL encoded and the meta data is encoded twice
xmlString = xml.decode(xmlString);
var xmlParser = xml.parser();
- Create a ticketCreate a ticket