Showing 3,294 of 3,294 total issues
Function _refreshItems
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_refreshItems: function(event) {
this.items = [];
this.containers = [this];
var items = this.items;
Function _makeDraggable
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_makeDraggable: function() {
var that = this,
options = this.options;
function filteredUi( ui ) {
Function option
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
option: function( key, value ) {
var options = key,
parts,
curOption,
i;
Function _createButtons
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createButtons: function( buttons ) {
var uiDialogButtonPane, uiButtonSet,
that = this,
hasButtons = false;
Function create
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
create: function( dialog ) {
if ( this.instances.length === 0 ) {
// prevent use of anchors and inputs
// we use a setTimeout in case the overlay is created from an
// event that we're going to be cancelling (see #2804)
Function cleanData
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
cleanData: function( elems ) {
var data, id,
cache = jQuery.cache,
special = jQuery.event.special,
deleteExpando = jQuery.support.deleteExpando;
Function object
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
"object": function( b, a ) {
var i, j, loop,
// Default to true
eq = true,
aProperties = [],
Function handleShowPerfData
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function handleShowPerfData() {
var templateVars = {
delimitedPerfData: PerfUtils.getDelimitedPerfData(),
perfData: []
};
Function resolve
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FileSystem.prototype.resolve = function (path, callback) {
var normalizedPath = this._normalizePath(path, false),
item = this._index.getEntry(normalizedPath);
if (!item) {
Function inputChangedHandler
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var inputChangedHandler = function () {
// CodeMirror's fastPoll will batch up input events into a consolidated change
if (inProgress) {
return;
}
Function init
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init(paths) {
var params = new UrlParams();
if (_init) {
// Only init once. Return a resolved promise.
Function _tryAddToScopeOrder
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_tryAddToScopeOrder: function (shadowEntry) {
var shadowScopeOrder = this._defaults._shadowScopeOrder,
index = _.findIndex(shadowScopeOrder, function (entry) {
return entry === shadowEntry;
}),
Function _createPlaceholder
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _createPlaceholder(treeData, basedir, name, isFolder, options) {
options = options || {};
var parentPath = _filePathToObjectPath(treeData, basedir);
if (!parentPath) {
Function updateList
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function updateList(list, index, value) {
index = wrapIndex(list, index);
if (index !== index) {
return list;
Function _doJumpToDef
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _doJumpToDef() {
var request = null,
result = new $.Deferred(),
jumpToDefProvider = null,
editor = EditorManager.getActiveEditor();
Function update
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
HashArrayMapNode.prototype.update = function(ownerID, shift, keyHash, key, value, didChangeSize, didAlter) {
if (keyHash === undefined) {
keyHash = hash(key);
}
var idx = (shift === 0 ? keyHash : keyHash >>> shift) & MASK;
Function next
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
MapIterator.prototype.next = function() {
var type = this._type;
var stack = this._stack;
while (stack) {
var node = stack.node;
Function insertHint
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
CodeHintsProvider.prototype.insertHint = function ($hint) {
var editor = EditorManager.getActiveEditor(),
cursor = editor.getCursorPos(),
token = $hint.data("token"),
txt = null,
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 setData
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setData(metadata) {
var locationType,
id = metadata.name,
userExtensionPath = ExtensionLoader.getUserExtensionPath();
if (path.indexOf(userExtensionPath) === 0) {