Showing 1,485 of 3,294 total issues
Function _showDatepicker
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_showDatepicker: function(input) {
input = input.target || input;
if (input.nodeName.toLowerCase() != 'input') // find from button/image trigger
input = $('input', input.parentNode)[0];
if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput == input) // already here
Function _mouseDrag
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseDrag: function(event) {
var that = this;
this.dragged = true;
if (this.options.disabled)
Function filter
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Sizzle.filter = function( expr, set, inplace, not ) {
var match, anyFound,
type, found, item, filter, left,
i, pass,
old = expr,
Function done
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function done( status, nativeStatusText, responses, headers ) {
// Called once
if ( state === 2 ) {
return;
Function getHints
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SVGCodeHints.prototype.getHints = function (implicitChar) {
var hints = [], query, tagInfo, attributes = [], options = [], index, isMultiple, tagSpecificOptions;
tagInfo = XMLUtils.getTagInfo(this.editor, this.editor.getCursorPos());
this.tagInfo = tagInfo;
Function add
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function( elem, types, handler, data, selector ) {
var handleObjIn, eventHandle, tmp,
events, t, handleObj,
special, handlers, type, namespaces, origType,
Function matcherFromGroupMatchers
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
var bySet = setMatchers.length > 0,
byElement = elementMatchers.length > 0,
superMatcher = function( seed, context, xml, results, outermost ) {
var elem, j, matcher,
Function _doKeyDown
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_doKeyDown: function(event) {
var inst = $.datepicker._getInst(event.target);
var handled = true;
var isRTL = inst.dpDiv.is('.ui-datepicker-rtl');
inst._keyEvent = true;
Function block
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function block(ordinary, stmt, isfunc) {
var a,
b = inblock,
old_indent = indent,
m,
Function done
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function done( status, nativeStatusText, responses, headers ) {
var isSuccess, success, error, response, modified,
statusText = nativeStatusText;
// Called once
Function _handleAboutDialog
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _handleAboutDialog() {
var templateVars = {
ABOUT_ICON : brackets.config.about_icon,
APP_NAME_ABOUT_BOX : brackets.config.app_name_about,
BUILD_TIMESTAMP : brackets.config.build_timestamp,
Function _registerDataEvents
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
NodeToBracketsInterface.prototype._registerDataEvents = function (domainManager, domainName) {
if (!domainManager.hasDomain(domainName)) {
domainManager.registerDomain(domainName, {
major: 0,
minor: 1
Function getHints
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Session.prototype.getHints = function (query, matcher) {
if (query === undefined) {
query = "";
}
Function normalizeKeyDescriptorString
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function normalizeKeyDescriptorString(origDescriptor) {
var hasMacCtrl = false,
hasCtrl = false,
hasAlt = false,
hasShift = false,
Function dispatch
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dispatch: function( event ) {
// Make a writable jQuery.Event from the native event object
event = jQuery.event.fix( event || window.event );
Function load
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
QUnit.load = function() {
runLoggingCallbacks( "begin", QUnit, {} );
// Initialize the config, saving the execution queue
var banner, filter, i, label, len, main, ol, toolbar, userAgent, val,
Function diff
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function diff( o, n ) {
var i,
ns = {},
os = {};
Function getHints
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
AttrHints.prototype.getHints = function (implicitChar) {
var cursor = this.editor.getCursorPos(),
query = {queryStr: null},
tokenType,
offset,
Function getAllScopes
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function getAllScopes(ast, scope, fullText) {
var curScope = scope;
var cnt = 0;
var scopes = [];
Function insertHint
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
CssPropHints.prototype.insertHint = function (hint) {
var offset = this.info.offset,
cursor = this.editor.getCursorPos(),
start = {line: -1, ch: -1},
end = {line: -1, ch: -1},