src/controller.js
Function Controller
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
MVPlayer.Controller = (function() {
var Controller = {};
var Util = MVPlayer.Util;
var _is_appear = false;
Function _setupEvents
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _setupEvents(element, player, loadElement, replayElement, doneElement) {
(function(didComplete) {
player.dispatcher.didComplete = function() {
didComplete.call(player.dispatcher);
Function _setupEvents
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function _setupEvents(element, player, loadElement, replayElement, doneElement) {