Showing 1,485 of 3,294 total issues
Function _onChange
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
LiveHTMLDocument.prototype._onChange = function (event, doc, change) {
// Make sure LiveHTML is turned on
if (!this._instrumentationEnabled) {
return;
}
Function formatTypeDataForToken
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function formatTypeDataForToken($hintObj, token) {
if (!hintDetailsEnabled) {
return;
}
Function _onChange
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
HTMLDocument.prototype._onChange = function (event, editor, change) {
// Make sure LiveHTML is turned on
if (!this._instrumentationEnabled) {
return;
}
Function DOMUpdater
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function DOMUpdater(previousDOM, editor, changeList) {
var text, startOffset = 0, startOffsetPos;
this.isIncremental = false;
Function getStylesheetText
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getStylesheetText: function (msg) {
var i,
sheet,
text = "";
for (i = 0; i < window.document.styleSheets.length; i++) {
Function highlight
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.highlight = function( o, done ) {
var elem = $( this ),
props = [ "backgroundImage", "backgroundColor", "opacity" ],
mode = $.effects.setMode( elem, o.mode || "show" ),
animation = {
Function expectReferences
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function expectReferences(referencesExpected) {
var refPromise,
results = null,
complete = false;
runs(function () {
Function _mouseStop
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseStop: function(event) {
//If we are using droppables, inform the manager about the drop
var dropped = false;
if ($.ui.ddmanager && !this.options.dropBehaviour)
Function values
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
values: function( index, newValue ) {
var vals,
newValues,
i;
Function warning
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function warning(m, t, a, b, c, d) {
var ch, l, w;
t = t || nexttoken;
if (t.id === '(end)') { // `~
t = token;
Function transfer
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.transfer = function( o, done ) {
var elem = $( this ),
target = $( o.to ),
targetFixed = target.css( "position" ) === "fixed",
body = $("body"),
Function _initSource
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_initSource: function() {
var array, url,
that = this;
if ( $.isArray(this.options.source) ) {
array = this.options.source;
Function refreshPositions
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
refreshPositions: function(fast) {
//This has to be redone because due to the item being moved out/into the offsetParent, the offsetParent's position will change
if(this.offsetParent && this.helper) {
this.offset.parent = this._getParentOffset();
Function _create
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
var that = this;
this.element.addClass("ui-selectable");
Function find
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
find: function( selector ) {
var self = this,
i, l;
if ( typeof selector !== "string" ) {
Function html
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
html: function( value ) {
return jQuery.access( this, function( value ) {
var elem = this[0] || {},
i = 0,
l = this.length;
Function show
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show: function( speed, easing, callback ) {
var elem, display;
if ( speed || speed === 0 ) {
return this.animate( genFx("show", 3), speed, easing, callback );
Function doRedraw
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function doRedraw() {
// only run this if the mouse is down so we don't constantly loop even
// after we're done resizing.
if (!isResizing) {
return;
Function _mergeContentsIntoChildren
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _mergeContentsIntoChildren(children, contents) {
// We keep track of the names we've seen among the current directory entries to make
// it easy to spot the names that we *haven't* seen (in other words, files that have
// been deleted).
Function handleClick
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
handleClick: function (e) {
// If we're renaming, allow the click to go through to the rename input.
if (this.props.entry.get("rename")) {
e.stopPropagation();
return;