Showing 476 of 1,049 total issues
Function updateHtml
has 125 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function updateHtml(html, data, updateAll) {
var writer = new tinymce.html.Writer();
var sourceCount = 0, hasImage;
function setAttributes(attrs, updatedAttrs) {
BaseField
has 38 functions (exceeds 20 allowed). Consider refactoring. Open
Open
abstract class BaseField
{
const CONTEXT_LIST = 'list';
const CONTEXT_FORM = 'form';
Function handleKey
has 124 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function handleKey(e) {
var keyCode = e.keyCode, nonEditableParent, caretContainer, startElement, endElement;
function getNonEmptyTextNodeSibling(node, prev) {
while ((node = node[prev ? 'previousSibling' : 'nextSibling'])) {
Function eventHandler
has 123 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function eventHandler(e) {
var key = e.keyCode;
function handle(upBool, sourceNode) {
var siblingDirection = upBool ? 'previousSibling' : 'nextSibling';
Function showDialog
has 123 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function showDialog() {
var win, width, height, data;
var generalFormItems = [
{
File plugin.js
has 369 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* plugin.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
File plugin.js
has 363 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* plugin.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
Function createToolbars
has 111 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createToolbars() {
var toolbars = [];
function addToolbar(items) {
var toolbarItems = [], buttonGroup;
Function createToolbars
has 111 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createToolbars() {
var toolbars = [];
function addToolbar(items) {
var toolbarItems = [], buttonGroup;
File core.js
has 348 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
define([
"./var/deletedIds",
"./var/slice",
"./var/concat",
"./var/push",
File plugin.js
has 347 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* plugin.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
File css.js
has 347 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
define([
"./core",
"./var/pnum",
"./core/access",
"./css/var/rmargin",
Function defaultPrefilter
has 105 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function defaultPrefilter( elem, props, opts ) {
/* jshint validthis: true */
var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
anim = this,
orig = {},
Function defaultPrefilter
has 105 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function defaultPrefilter( elem, props, opts ) {
/* jshint validthis: true */
var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
anim = this,
orig = {},
File plugin.js
has 333 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* plugin.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
File holder.js
has 331 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
Holder - 1.9 - client side image placeholders
(c) 2012-2013 Ivan Malopinsky / http://imsky.co
Function init
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init = function () {
var icon = false, i, dDate, longDateFormat;
picker.options = $.extend({}, defaults, options);
picker.options.icons = $.extend({}, icons, picker.options.icons);
Function convertFakeListsToProperLists
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function convertFakeListsToProperLists(node) {
var currentListNode, prevListNode, lastLevel = 1;
function getText(node) {
var txt = '';
File plugin.js
has 321 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* plugin.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
Function fillDate
has 92 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fillDate = function () {
pMoment.lang(picker.options.language);
var year = picker.viewDate.year(),
month = picker.viewDate.month(),
startYear = picker.options.minDate.year(),