Showing 1,049 of 1,049 total issues
Function removeClass
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
removeClass: function( value ) {
var classes, elem, cur, clazz, j, finalValue,
i = 0,
len = this.length,
proceed = arguments.length === 0 || typeof value === "string" && value;
Function fixTableCaretPos
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function fixTableCaretPos() {
editor.on('KeyDown SetContent VisualAid', function() {
var last;
// Skip empty text nodes from the end
Function convertSelectorToFormat
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function convertSelectorToFormat(selectorText) {
var format;
// Parse simple element.class1, .class1
var selector = /^(?:([a-z0-9\-_]+))?(\.[a-z0-9_\-\.]+)$/i.exec(selectorText);
Method buildMenu
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function buildMenu($menu)
{
$html = '';
foreach ($menu as $value) {
Function getDateTime
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getDateTime(fmt, date) {
var daysShort = "Sun Mon Tue Wed Thu Fri Sat Sun".split(' ');
var daysLong = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(' ');
var monthsShort = "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(' ');
var monthsLong = "January February March April May June July August September October November December".split(' ');
Function applyPlacement
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
, applyPlacement: function(offset, placement){
var $tip = this.tip()
, width = $tip[0].offsetWidth
, height = $tip[0].offsetHeight
, actualWidth
Function findEndPos
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function findEndPos() {
var maxX, maxY;
maxX = maxY = 0;
Function start
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start: function(name, attrs) {
if (!data.source1 && name == "param") {
data.source1 = attrs.map.movie;
}
Function deleteRows
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function deleteRows() {
var rows;
function deleteRow(tr) {
var pos, lastCell;
Function applyPlacement
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
, applyPlacement: function(offset, placement){
var $tip = this.tip()
, width = $tip[0].offsetWidth
, height = $tip[0].offsetHeight
, actualWidth
Function applyPlacement
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
, applyPlacement: function(offset, placement){
var $tip = this.tip()
, width = $tip[0].offsetWidth
, height = $tip[0].offsetHeight
, actualWidth
Function render
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function render() {
if (panel) {
if (!panel.visible()) {
show();
}
Function handlers
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
handlers: function( event, handlers ) {
var sel, handleObj, matches, i,
handlerQueue = [],
delegateCount = handlers.delegateCount,
cur = event.target;
Function promise
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.ready.promise = function( obj ) {
if ( !readyList ) {
readyList = jQuery.Deferred();
Function attr
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
attr: function( elem, name, value ) {
var hooks, ret,
nType = elem.nodeType;
// don't get/set attributes on text, comment and attribute nodes
Function handlers
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
handlers: function( event, handlers ) {
var sel, handleObj, matches, i,
handlerQueue = [],
delegateCount = handlers.delegateCount,
cur = event.target;
Function promise
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.ready.promise = function( obj ) {
if ( !readyList ) {
readyList = jQuery.Deferred();
Function attr
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
attr: function( elem, name, value ) {
var hooks, ret,
nType = elem.nodeType;
// don't get/set attributes on text, comment and attribute nodes
Function render
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function render() {
if (panel) {
if (!panel.visible()) {
show();
}
Function onSubmit
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
onSubmit: function(e) {
var count, caseState, text, wholeWord;
e.preventDefault();