Skip to main content

Bug Tracker

Side navigation

#4309 closed bug (invalid)

Opened March 08, 2009 08:39AM UTC

Closed August 09, 2009 01:24AM UTC

Last modified March 15, 2012 01:51PM UTC

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>

Attachments (0)
Change History (3)

Changed June 09, 2009 11:16PM UTC by phokus comment:1

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 = {};

...

Changed July 23, 2009 11:28AM UTC by jerone comment:2

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.

Changed August 09, 2009 01:24AM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed

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.