Showing 3,294 of 3,294 total issues
Function makeResizable
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function makeResizable(element, direction, position, minSize, collapsible, forceLeft, createdByWorkspaceManager, usePercentages, _attachToParent) {
Function _createContextInfo
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function _createContextInfo(token, tokenType, offset, keyName, valueName, parentKeyName, isArray, exclusionList, shouldReplace) {
Function parseDescriptor
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
origDescriptor.split("-").forEach(function parseDescriptor(ele, i, arr) {
if (_compareModifierString("ctrl", ele)) {
if (brackets.platform === "mac") {
hasMacCtrl = true;
} else {
Function matchResults
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var matchResults = $.map(hints, function (hint) {
var searchResult = matcher.match(hint.value, query);
if (searchResult) {
searchResult.value = hint.value;
searchResult.guess = hint.guess;
Function _calcHintListLocation
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
CodeHintList.prototype._calcHintListLocation = function () {
var cursor = this.editor._codeMirror.cursorCoords(),
posTop = cursor.bottom,
posLeft = cursor.left,
textHeight = this.editor.getTextHeight(),
Function _updateOption
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Editor.prototype._updateOption = function (prefName) {
var oldValue = this._currentOptions[prefName],
newValue = this._getOption(prefName);
if (oldValue !== newValue) {
Function downloadRegistry
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function downloadRegistry() {
if (pendingDownloadRegistry) {
return pendingDownloadRegistry.promise();
}
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 _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 _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 _prepareServer
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _prepareServer(doc) {
var deferred = new $.Deferred(),
showBaseUrlPrompt = false;
_server = LiveDevServerManager.getServer(doc.file.fullPath);
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 formatTypeDataForToken
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function formatTypeDataForToken($hintObj, token) {
if (!hintDetailsEnabled) {
return;
}
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 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 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 _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 values
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
values: function( index, newValue ) {
var vals,
newValues,
i;
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 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;