Showing 476 of 1,049 total issues
Function setDocument
has 216 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setDocument = Sizzle.setDocument = function( node ) {
var hasCompare,
doc = node ? node.ownerDocument || node : preferredDoc,
parent = doc.defaultView;
Function setDocument
has 216 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setDocument = Sizzle.setDocument = function( node ) {
var hasCompare,
doc = node ? node.ownerDocument || node : preferredDoc,
parent = doc.defaultView;
File manipulation.js
has 521 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
define([
"./core",
"./var/strundefined",
"./var/concat",
"./var/push",
File effects.js
has 505 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
define([
"./core",
"./var/pnum",
"./css/var/cssExpand",
"./css/var/isHidden",
File ajax.js
has 499 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
define([
"./core",
"./var/rnotwhite",
"./ajax/var/nonce",
"./ajax/var/rquery",
Function cell
has 177 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
self.cell = function() {
var dom = editor.dom, cellElm, data, classListCtrl, cells = [];
function onSubmitCellForm() {
updateStyle(dom, this);
Function findAndReplaceDOMText
has 174 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function findAndReplaceDOMText(regex, node, replacementNode, captureGroup, schema) {
var m, matches = [], text, count = 0, doc;
var blockElementsMap, hiddenTextElementsMap, shortEndedElementsMap;
doc = node.ownerDocument;
File plugin.js
has 446 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* plugin.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
File theme.js
has 428 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* theme.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
File theme.js
has 428 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* theme.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
Function dataToHtml
has 153 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function dataToHtml(data) {
var headerFragment, headElement, html, elm, value, dom = editor.dom;
function setAttr(elm, name, value) {
elm.attr(name, value ? value : undefined);
Function table
has 151 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
self.table = function(isProps) {
var dom = editor.dom, tableElm, colsCtrl, rowsCtrl, classListCtrl, data = {}, generalTableForm;
function onSubmitTableForm() {
var captionElm;
Function row
has 144 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
self.row = function() {
var dom = editor.dom, tableElm, cellElm, rowElm, classListCtrl, data, rows = [], generalRowForm;
function onSubmitRowForm() {
var tableElm, oldParentElm, parentElm;
Function registerEventHandlers
has 131 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function registerEventHandlers() {
editor.on('keydown', function(e) {
function removePasteBinOnKeyUp(e) {
// Ctrl+V or Shift+Insert
if (isKeyboardPasteEvent(e) && !e.isDefaultPrevented()) {
Admin
has 39 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Admin
{
/**
* Holds the model name.
Function Callbacks
has 128 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.Callbacks = function( options ) {
// Convert options from String-formatted to Object-formatted if needed
// (we check in cache first)
options = typeof options === "string" ?
Function Callbacks
has 128 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.Callbacks = function( options ) {
// Convert options from String-formatted to Object-formatted if needed
// (we check in cache first)
options = typeof options === "string" ?
Function moveWebKitSelection
has 128 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function moveWebKitSelection() {
function eventHandler(e) {
var key = e.keyCode;
function handle(upBool, sourceNode) {
Consider simplifying this complex logical expression. Open
Open
if ( event.pageX == null && original.clientX != null ) {
eventDoc = event.target.ownerDocument || document;
doc = eventDoc.documentElement;
body = eventDoc.body;
Consider simplifying this complex logical expression. Open
Open
if ( event.pageX == null && original.clientX != null ) {
eventDoc = event.target.ownerDocument || document;
doc = eventDoc.documentElement;
body = eventDoc.body;