Showing 1,485 of 3,294 total issues
Function _handleExtensionLoad
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _handleExtensionLoad(e, path) {
function setData(metadata) {
var locationType,
id = metadata.name,
userExtensionPath = ExtensionLoader.getUserExtensionPath();
Function open
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function open(restart) {
// If close() is still pending, wait for close to finish before opening
if (_isPromisePending(_closeDeferred)) {
return _closeDeferred.then(function () {
return open(restart);
Function _createMROFDisplayList
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _createMROFDisplayList(refresh) {
var $def = $.Deferred();
var $mrofList, $link, $newItem;
Function moveView
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Pane.prototype.moveView = function (file, destinationPane, destinationIndex) {
var self = this,
openNextPromise = new $.Deferred(),
result = new $.Deferred();
Function select
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
select = Sizzle.select = function( selector, context, results, seed ) {
var i, tokens, token, type, find,
compiled = typeof selector === "function" && selector,
match = !seed && tokenize( (selector = compiled.selector || selector) );
Function validateNotificationParams
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function validateNotificationParams(type, params) {
var validatedParams = null;
params = params || {};
Function getHints
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
CodeHintsProvider.prototype.getHints = function (implicitChar) {
if (!this.client) {
return null;
}
Function load
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
MultiRangeInlineEditor.prototype.load = function (hostEditor) {
MultiRangeInlineEditor.prototype.parentClass.load.apply(this, arguments);
// Create the message area
this.$messageDiv = $("<div/>")
Function _getRelativeMenuItem
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Menu.prototype._getRelativeMenuItem = function (relativeID, position) {
var $relativeElement;
if (relativeID) {
if (position === FIRST_IN_SECTION || position === LAST_IN_SECTION) {
Function validateChecksum
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function validateChecksum(requester, params) {
params = params || {
filePath: installerPath,
expectedChecksum: _updateParams.checksum
};
Function drag
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
drag: function(event, ui) {
var inst = $(this).data("draggable"), that = this;
var checkPos = function(o) {
Function toHaveInlineEditorRange
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
toHaveInlineEditorRange: function (range) {
var i = 0,
editor = this.actual,
hidden,
lineCount = editor.lineCount(),
Function fold
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.fold = function( o, done ) {
// Create element
var el = $( this ),
props = [ "position", "top", "bottom", "left", "right", "height", "width" ],
Function ajaxHandleResponses
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxHandleResponses( s, jqXHR, responses ) {
var contents = s.contents,
dataTypes = s.dataTypes,
responseFields = s.responseFields,
Function extract
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function extract(scopes, parentStatement, expns, text, insertPosition) {
var varType = "var",
varName = RefactoringUtils.getUniqueIdentifierName(scopes, "extracted"),
varDeclaration = varType + " " + varName + " = " + text + ";\n",
parentStatementStartPos = session.editor.posFromIndex(parentStatement.start),
Function tokenize
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
var matched, match, tokens, type,
soFar, groups, preFilters,
cached = tokenCache[ selector + " " ];
Function matcherFromTokens
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function matcherFromTokens( tokens ) {
var checkContext, matcher, j,
len = tokens.length,
leadingRelative = Expr.relative[ tokens[0].type ],
implicitRelative = leadingRelative || Expr.relative[" "],
Function deepEqual
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function deepEqual(a, b) {
if (a === b) {
return true;
}
Function _keydownHook
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var _keydownHook = function (e, autoDismiss) {
var $primaryBtn = this.find(".primary"),
buttonId = null,
which = String.fromCharCode(e.which),
$focusedElement = this.find(".dialog-button:focus, a:focus");
Function addMenu
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addMenu(name, id, position, relativeID) {
name = _.escape(name);
var $menubar = $("#titlebar .nav"),
menu;