Showing 260 of 474 total issues
Function add
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function( elem, types, handler, data, selector ) {
var elemData, eventHandle, events,
t, tns, type, namespaces, handleObj,
handleObjIn, handlers, special;
Function formatXml
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
OperationView.prototype.formatXml = function(xml) {
var contexp, formatted, indent, lastType, lines, ln, pad, reg, transitions, wsexp, _fn, _i, _len;
reg = /(>)(<)(\/*)/g;
wsexp = /[ ]*(.*)[ ]+\n/g;
contexp = /(<.+>)(.+\n)/g;
Function str
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function str(key, holder) {
// Produce a string from holder[key].
var i, // The loop counter.
Function matcherFromGroupMatchers
has 69 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, expandContext ) {
var elem, j, matcher,
Function setMatcher
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
if ( postFilter && !postFilter[ expando ] ) {
postFilter = setMatcher( postFilter );
}
if ( postFinder && !postFinder[ expando ] ) {
Function anonymous
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
lexer.performAction = function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {
var YYSTATE=YY_START
switch($avoiding_name_collisions) {
case 0:
Function done
has 65 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 domManip
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
domManip: function( args, table, callback ) {
// Flatten any nested arrays
args = [].concat.apply( [], args );
Function dispatch
has 63 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 superMatcher
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
superMatcher = function( seed, context, xml, results, expandContext ) {
var elem, j, matcher,
setMatched = [],
matchedCount = 0,
i = "0",
Function initWith
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.twipsy.initWith = function (options, Constructor, name) {
var twipsy
, binder
, eventIn
, eventOut
Function Deferred
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Deferred: function( func ) {
var tuples = [
// action, add listener, listener list, final state
[ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ],
[ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ],
Function createInfoBoxDiv_
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
InfoBox.prototype.createInfoBoxDiv_ = function () {
var i;
var events;
var bw;
Function Week
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Week = (function (_React$Component) {
_inherits(Week, _React$Component);
function Week() {
_classCallCheck(this, Week);
File dialog-polyfill.js
has 252 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
var dialogPolyfill = (function() {
var addEventListenerFn = (window.document.addEventListener
? function(element, type, fn) { element.addEventListener(type, fn); }
: function(element, type, fn) { element.attachEvent('on' + type, fn); });
Function ajaxConvert
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxConvert( s, response ) {
var conv, conv2, current, tmp,
// Work with a copy of dataTypes in case we need to modify it for conversion
dataTypes = s.dataTypes.slice(),
Function data
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
data: function( elem, name, data, pvt /* Internal Use Only */ ) {
if ( !jQuery.acceptData( elem ) ) {
return;
}
Function _setupEventCreationForWeekDay
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_setupEventCreationForWeekDay : function($weekDay) {
var self = this;
var options = this.options;
$weekDay.mousedown(function(event) {
var $target = $(event.target);
Function build
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SwaggerApi.prototype.build = function() {
var _this = this;
this.progress('fetching resource list: ' + this.discoveryUrl);
return jQuery.getJSON(this.discoveryUrl, function(response) {
var res, resource, _i, _j, _len, _len1, _ref, _ref1;
Function next
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
next:function () {
if (this.done) {
return this.EOF;
}
if (!this._input) this.done = true;