web/src/main/webapp/js/dnd-lists.js
File dnd-lists.js
has 299 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
Function invokeCallback
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function invokeCallback(expression, event, dropEffect, itemType, index, item) {
Avoid too many return
statements within this function. Open
Open
if (!data) return stopDragover();
Avoid too many return
statements within this function. Open
Open
return false;