Bug Tracker

Opened 8 years ago

Closed 7 years ago

Last modified 5 years ago

#4309 closed bug (invalid)

VSDOC : jQuery.support is undefined

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

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 (3)

comment:1 Changed 7 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 7 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 7 years ago by dmethvin

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

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.

Note: See TracTickets for help on using tickets.