eisen-dev/eisen_front

View on GitHub
webd/ts/libs/jquery.d.ts

Summary

Maintainability
F
3 days
Test Coverage

Showing 17 of 17 total issues

File jquery.d.ts has 594 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// Type definitions for jQuery 1.10.x / 2.0.x
// Project: http://jquery.com/
// Definitions by: Boris Yankov <https://github.com/borisyankov/>, Christian Hoffmeister <https://github.com/choffmeister>, Steve Fenton <https://github.com/Steve-Fenton>, Diullei Gomes <https://github.com/Diullei>, Tass Iliopoulos <https://github.com/tasoili>, Jason Swearingen <https://github.com/jasons-novaleaf>, Sean Hill <https://github.com/seanski>, Guus Goossens <https://github.com/Guuz>, Kelly Summerlin <https://github.com/ksummerlin>, Basarat Ali Syed <https://github.com/basarat>, Nicholas Wolverson <https://github.com/nwolverson>, Derek Cicerone <https://github.com/derekcicerone>, Andrew Gaspar <https://github.com/AndrewGaspar>, James Harrison Fisher <https://github.com/jameshfisher>, Seikichi Kondo <https://github.com/seikichi>, Benjamin Jackman <https://github.com/benjaminjackman>, Poul Sorensen <https://github.com/s093294>, Josh Strobl <https://github.com/JoshStrobl>, John Reilly <https://github.com/johnnyreilly/>, Dick van den Brink <https://github.com/DickvdBrink>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
 
 
Severity: Major
Found in webd/ts/libs/jquery.d.ts - About 1 day to fix

    TODO found
    Open

    fn: any; //TODO: Decide how we want to type this
    Severity: Minor
    Found in webd/ts/libs/jquery.d.ts by fixme

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    done(doneCallback1?: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...doneCallbackN: Array<JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[]>): JQueryPromise<T>;
    Severity: Major
    Found in webd/ts/libs/jquery.d.ts and 1 other location - About 2 hrs to fix
    webd/ts/libs/jquery.d.ts on lines 370..370

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    done(doneCallback1?: JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[], ...doneCallbackN: Array<JQueryPromiseCallback<T>|JQueryPromiseCallback<T>[]>): JQueryDeferred<T>;
    Severity: Major
    Found in webd/ts/libs/jquery.d.ts and 1 other location - About 2 hrs to fix
    webd/ts/libs/jquery.d.ts on lines 330..330

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    always(alwaysCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...alwaysCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;
    Severity: Major
    Found in webd/ts/libs/jquery.d.ts and 4 other locations - About 1 hr to fix
    webd/ts/libs/jquery.d.ts on lines 323..323
    webd/ts/libs/jquery.d.ts on lines 337..337
    webd/ts/libs/jquery.d.ts on lines 377..377
    webd/ts/libs/jquery.d.ts on lines 383..383

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    fail(failCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...failCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;
    Severity: Major
    Found in webd/ts/libs/jquery.d.ts and 4 other locations - About 1 hr to fix
    webd/ts/libs/jquery.d.ts on lines 323..323
    webd/ts/libs/jquery.d.ts on lines 363..363
    webd/ts/libs/jquery.d.ts on lines 377..377
    webd/ts/libs/jquery.d.ts on lines 383..383

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    fail(failCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...failCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;
    Severity: Major
    Found in webd/ts/libs/jquery.d.ts and 4 other locations - About 1 hr to fix
    webd/ts/libs/jquery.d.ts on lines 323..323
    webd/ts/libs/jquery.d.ts on lines 337..337
    webd/ts/libs/jquery.d.ts on lines 363..363
    webd/ts/libs/jquery.d.ts on lines 383..383

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    progress(progressCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...progressCallbackN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryDeferred<T>;
    Severity: Major
    Found in webd/ts/libs/jquery.d.ts and 4 other locations - About 1 hr to fix
    webd/ts/libs/jquery.d.ts on lines 323..323
    webd/ts/libs/jquery.d.ts on lines 337..337
    webd/ts/libs/jquery.d.ts on lines 363..363
    webd/ts/libs/jquery.d.ts on lines 377..377

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

    always(alwaysCallback1?: JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[], ...alwaysCallbacksN: Array<JQueryPromiseCallback<any>|JQueryPromiseCallback<any>[]>): JQueryPromise<T>;
    Severity: Major
    Found in webd/ts/libs/jquery.d.ts and 4 other locations - About 1 hr to fix
    webd/ts/libs/jquery.d.ts on lines 337..337
    webd/ts/libs/jquery.d.ts on lines 363..363
    webd/ts/libs/jquery.d.ts on lines 377..377
    webd/ts/libs/jquery.d.ts on lines 383..383

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<any>;
    Severity: Major
    Found in webd/ts/libs/jquery.d.ts and 1 other location - About 1 hr to fix
    webd/ts/libs/jquery.d.ts on lines 438..438

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    get(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
    Severity: Major
    Found in webd/ts/libs/jquery.d.ts and 1 other location - About 1 hr to fix
    webd/ts/libs/jquery.d.ts on lines 713..713

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    post(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
    Severity: Major
    Found in webd/ts/libs/jquery.d.ts and 1 other location - About 1 hr to fix
    webd/ts/libs/jquery.d.ts on lines 668..668

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

    pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<any>;
    Severity: Major
    Found in webd/ts/libs/jquery.d.ts and 1 other location - About 1 hr to fix
    webd/ts/libs/jquery.d.ts on lines 346..346

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    get(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
    Severity: Minor
    Found in webd/ts/libs/jquery.d.ts and 1 other location - About 50 mins to fix
    webd/ts/libs/jquery.d.ts on lines 704..704

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    post(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR;
    Severity: Minor
    Found in webd/ts/libs/jquery.d.ts and 1 other location - About 50 mins to fix
    webd/ts/libs/jquery.d.ts on lines 659..659

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    ajaxSuccess(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: JQueryAjaxSettings) => any): JQuery;
    Severity: Minor
    Found in webd/ts/libs/jquery.d.ts and 1 other location - About 30 mins to fix
    webd/ts/libs/jquery.d.ts on lines 1172..1172

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

    ajaxSend(handler: (event: JQueryEventObject, jqXHR: JQueryXHR, ajaxOptions: JQueryAjaxSettings) => any): JQuery;
    Severity: Minor
    Found in webd/ts/libs/jquery.d.ts and 1 other location - About 30 mins to fix
    webd/ts/libs/jquery.d.ts on lines 1190..1190

    There are no issues that match your filters.

    Category
    Status