Bug Tracker

Modify

Ticket #4309 (closed bug: invalid)

Opened 5 years ago

Last modified 2 years ago

VSDOC : jQuery.support is undefined

Reported by: Smalldevil Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description

Hi,

If i use the vsdoc version i have a problem detected by firebug but with a minified version, i have not a problem.

jQuery.support is undefined

if (!jQuery.support.opacity&&name=="opacity") {

<script src="jquery-1.3.2-vsdoc.js" type="text/javascript"></script>

<script type="text/javascript">

$(document).ready(function(){

$("#myTitle").click(function(){

$("#content").slideUp();

});

});

</script> <title></title>

</head> <body>

<p id="myTitle">qsdqsdqsd</p> <p id="content">sdqsd</p>

</body> </html>

Change History

comment:1 Changed 5 years ago by phokus

In the jquery-1.3.2-vsdoc.js file at line 4559 the following is typed. It seems that who ever created the vsdoc file commented out the creation of the support piece of jQuery.

[vsdoc] The following function has been commented out for IntelliSense. (function(){

jQuery.support = {};

...

comment:2 Changed 5 years ago by jerone

Some lines in the VSDoc are commented out because of speed and the fact VS hasn't a good Javascript engine.

That said, you should never use the vsdoc version on your site; it's only meant to be as documentation for vsdoc readers.

comment:3 Changed 5 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

The vsdoc version is only intended to provide guidance for Intellisense and is NOT supposed to be executed. Read the notice at the top of the file for more information.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.