jQuery 1.4.2 VSDoc

前端 未结 15 549
夕颜
夕颜 2020-12-02 14:12

Where can I get the VSDoc for jQuery 1.4.2?

15条回答
  •  时光取名叫无心
    2020-12-02 14:53

    Using jQuery 1.4.4, and the vsdoc from http://appendto.com/community/vsdoc (as well as the fix for line ~1750), I can update my Intellisense without error; however, whenever I type:

    $.

    Not only do I not get any relevant Intelliprompts, but I see:

    Javascript Intellisense Message: JSIntellisense:Internal/(3:4) : Object required

    This references the first function in my .js file:

    ; (function ($) { $.fn.MobileFunction = function (options) {

       //My Function
    };
    

    })(jQuery);

    I do have one warning: "Expected Expression" on the first closing paren in })(jQuery); but I cannot find a syntax error in the code. Even with the entire function commented out, Intellisense produces no output.

提交回复
热议问题