Showing 1,485 of 3,294 total issues
Function open
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
open: function() {
if ( this._isOpen ) {
return;
}
Function assume
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function assume() {
if (option.couch) {
combine(predefined, couch);
}
Function when
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
when: function( firstParam ) {
var args = sliceDeferred.call( arguments, 0 ),
i = 0,
length = args.length,
pValues = new Array( length ),
Function ColorEditor
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ColorEditor($parent, color, callback, swatches) {
// Create the DOM structure, filling in localized strings via Mustache
this.$element = $(Mustache.render(ColorEditorTemplate, Strings));
$parent.append(this.$element);
Function addCombinator
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function addCombinator( matcher, combinator, base ) {
var dir = combinator.dir,
checkNonElements = base && dir === "parentNode",
doneName = done++;
Function _formatParameterHint
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _formatParameterHint(params, appendSeparators, appendParameter, typesOnly) {
var result = "",
pendingOptional = false;
appendParameter("(", "", -1);
Function _buildListView
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
InlineMenu.prototype._buildListView = function (items) {
var self = this,
view = { items: [] },
_addItem;
Function settingsToRegExp
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function settingsToRegExp(settings, baseRegExp, defaultRegExp) {
var regExpString = "";
if (settings instanceof Array && settings.length > 0) {
Function addSubMenu
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Menu.prototype.addSubMenu = function (name, id, position, relativeID) {
if (!name || !id) {
console.error("addSubMenu(): missing required parameters: name and id");
return null;
Function getHints
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
JSHints.prototype.getHints = function (key) {
var cursor = session.getCursor(),
token = session.getToken(cursor);
if (token && HintUtils.hintableKey(key, !noHintsOnDot) && HintUtils.hintable(token)) {
Function update
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DOMUpdater.prototype.update = function () {
var markCache = {},
newSubtree = this.build(true, markCache),
result = {
// default result if we didn't identify a changed portion
Function init
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init(domainManager) {
_domainManager = domainManager;
if (!domainManager.hasDomain("webSocketTransport")) {
domainManager.registerDomain("webSocketTransport", {major: 0, minor: 1});
}
Function getAnalyticsData
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getAnalyticsData(eventParams) {
var userUuid = PreferencesManager.getViewState("UUID"),
olderUuid = PreferencesManager.getViewState("OlderUUID");
//Create default Values
Function _mouseStart
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseStart: function(event) {
var o = this.options;
//Create and append the visible helper
Function expression
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function expression(rbp, initial) {
var left, isArray = false;
if (nexttoken.id === '(end)')
error("Unexpected early end of program.", token);
Function getWidthOrHeight
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getWidthOrHeight( elem, name, extra ) {
// Start with offset property
var val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
i = name === "width" ? 1 : 0,
Function entryRenamed
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FileIndex.prototype.entryRenamed = function (oldPath, newPath, isDirectory) {
var path,
renameMap = {},
oldParentPath = FileUtils.getParentPath(oldPath),
newParentPath = FileUtils.getParentPath(newPath);
Function startRename
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ProjectModel.prototype.startRename = function (path, isMoved) {
var d = new $.Deferred();
path = _getPathFromFSObject(path);
if (!path) {
path = this._selections.context;
Function _getPropNameInfo
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _getPropNameInfo(ctx) {
var propName = "",
offset = TokenUtils.offsetInToken(ctx),
tokenString = ctx.token.string,
excludedCharacters = [";", "{", "}"];
Function update
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DOMUpdater.prototype.update = function () {
var markCache = {},
newSubtree = this.build(true, markCache),
result = {
// default result if we didn't identify a changed portion