Showing 1,485 of 3,294 total issues
Function _refreshValue
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_refreshValue: function() {
var lastValPercent, valPercent, value, valueMin, valueMax,
oRange = this.options.range,
o = this.options,
that = this,
Function _processTabs
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_processTabs: function() {
var that = this;
this.tablist = this._getList()
.addClass( "ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" )
Function _destroy
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_destroy: function() {
if ( this.xhr ) {
this.xhr.abort();
}
Function keydown
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
keydown: function( event ) {
if ( this.element.prop( "readOnly" ) ) {
suppressKeyPress = true;
suppressInput = true;
suppressKeyPressRepeat = true;
Function _mouseStart
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseStart: function(event) {
var that = this;
this.opos = [event.pageX, event.pageY];
Function done
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function done() {
config.autorun = true;
// Log the last module results
if ( config.currentModule ) {
Function getContents
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Directory.prototype.getContents = function (callback) {
if (this._contentsCallbacks) {
// There is already a pending call for this directory's contents.
// Push the new callback onto the stack and return.
this._contentsCallbacks.push(callback);
Function iterateList
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function iterateList(list, reverse) {
var left = list._origin;
var right = list._capacity;
var tailPos = getTailOffset(right);
var tail = list._tail;
Function getSearchMatches
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getSearchMatches(contents, queryExpr) {
if (!contents) {
return;
}
// Quick exit if not found or if we hit the limit
Function exports
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (grunt) {
var _ = require("lodash"),
common = require("./lib/common")(grunt),
build = require("./build")(grunt),
Function _createServer
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _createServer() {
if (!_wsServer) {
// TODO: make port configurable, or use random port
_wsServer = new WebSocketServer({port: SOCKET_PORT});
_wsServer.on("connection", function (ws) {
Function downloadInstaller
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function downloadInstaller(requester, isInitialAttempt, updateParams) {
updateParams = updateParams || _updateParams;
var currentRequester = requester || "";
try {
var ext = path.extname(updateParams.installerName);
Function _setOption
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_setOption: function( key, value ) {
var isDraggable, isResizable,
uiDialog = this.uiDialog;
switch ( key ) {
Function _clear
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_clear: function(event, noPropagation) {
this.reverting = false;
// We delay all events that have to be triggered to after the point where the placeholder has been removed and
// everything else normalized again
Function remove
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
remove: function( elem, types, handler, selector, mappedTypes ) {
var elemData = jQuery.hasData( elem ) && jQuery._data( elem ),
t, tns, type, origType, namespaces, origCount,
j, events, special, handle, eventType, handleObj;
Function _createInlineEditor
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _createInlineEditor(hostEditor, functionName) {
// Use Tern jump-to-definition helper, if it's available, to find InlineEditor target.
var helper = brackets._jsCodeHintsHelper;
if (helper === null) {
return null;
Function _refreshInterface
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
NodeConnection.prototype._refreshInterface = function () {
var deferred = $.Deferred();
var self = this;
var pendingDeferreds = this._pendingInterfaceRefreshDeferreds;
Function _open
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _open(paneId, file, optionsIn) {
var result = new $.Deferred(),
options = optionsIn || {};
function doPostOpenActivation() {
Function load
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
load: function () {
var result = new $.Deferred();
var path = this.path;
var createIfMissing = this.createIfMissing;
var recreateIfInvalid = this.recreateIfInvalid;
Function domdiff
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function domdiff(oldNode, newNode) {
var queue = [],
edits = [],
moves = [],
newElement,