Showing 3,294 of 3,294 total issues
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 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 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 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 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;
Function _keydownHook
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _keydownHook(event) {
var keyCode;
// (page) up, (page) down, enter and tab key are handled by the list
if (event.type === "keydown") {
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 _mergePanes
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _mergePanes() {
if (_panes.hasOwnProperty(SECOND_PANE)) {
var firstPane = _panes[FIRST_PANE],
secondPane = _panes[SECOND_PANE],
Function setSelected
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ProjectModel.prototype.setSelected = function (path, doNotOpen) {
path = _getPathFromFSObject(path);
// Directories are not selectable
if (!_pathIsFile(path)) {
Function _initialLayout
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _initialLayout(forceRefresh) {
var panes = Object.keys(_panes),
size = 100 / panes.length;
_.forEach(_panes, function (pane) {
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 positionHint
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function positionHint(xpos, ypos, ybot) {
var hintWidth = $hintContainer.width(),
hintHeight = $hintContainer.height(),
top = ypos - hintHeight - POINTER_TOP_OFFSET,
left = xpos,
Function interposeFactory
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function interposeFactory(iterable, separator) {
var interposedSequence = makeSequence(iterable);
interposedSequence.size = iterable.size && iterable.size * 2 -1;
interposedSequence.__iterateUncached = function(fn, reverse) {var this$0 = this;
var iterations = 0;
Function __iteratorUncached
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
skipSequence.__iteratorUncached = function(type, reverse) {var this$0 = this;
if (reverse) {
return this.cacheResult().__iterator(type, reverse);
}
var iterator = iterable.__iterator(ITERATE_ENTRIES, reverse);
Function finish
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
finish: function( type ) {
if ( type !== false ) {
type = type || "fx";
}
return this.each(function() {
Function showSearchHints
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FindBar.prototype.showSearchHints = function () {
var self = this;
var searchFieldInput = self.$("#find-what");
this.searchField = new QuickSearchField(searchFieldInput, {
verticalAdjust: searchFieldInput.offset().top > 0 ? 0 : this._modalBar.getRoot().outerHeight(),
Function ModalBar
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ModalBar(template, autoClose, animate) {
if (animate === undefined) {
animate = true;
}
Function searchAndShowResults
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function searchAndShowResults(queryInfo, scope, filter, replaceText, candidateFilesPromise) {
return FindInFiles.doSearchInScope(queryInfo, scope, filter, replaceText, candidateFilesPromise)
.done(function (zeroFilesToken) {
// Done searching all files: show results
if (FindInFiles.searchModel.hasResults()) {