Posts tagged ‘jQuery’

Official jQuery 1.3.0, 1.3.1 Visual Studio Intellisense Files

It looks like this weekend while I was at the South Florida Code Camp the jQuery team has posted the official jQuery 1.3.1 Visual Studio intellisense file. You can get it from the jQuery downloads page, or more directly from the jQuery Google Code download page.

The official 1.3.0 documentation was posted this weekend as well and is also available from the downloads link above, or this Google Code download page.

Keep your eyes peeled for a jQuery 1.3.2 release anytime in the next few days as John Resig has mentioned there is still one last 1.3 regression they are working on fixing.

For those interested, the regression has to do with the $(document).ready() function waiting until images are fully loaded in Internet Explorer 6 & 7. The jQuery bug ticket ID is #3988 and here’s a Stack Overflow question in which John Resig talks about the issue in some detail.

  • email
  • DotNetKicks
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • LinkedIn
  • Facebook
  • Twitter
  • Google Bookmarks
  • Live

jQuery 1.3.1 Released

The jQuery team has just released jQuery 1.3.1. This is mainly a bugfix release. You can view the fixed bugs on the jQuery bug tracker. You can download this release by visiting the jQuery Downloads page, or more directly, the 1.3.1 Release Download page

The blog post regarding this release makes a few important points to be aware of:

  • jQuery support for Safari 2 is being phased out. 
  • Packed versions of jQuery will no longer be available.
    • Packed scripts make debugging more difficult, cause platform incompatibilities (e.g. Adobe Air, Caja), and can actually increase loading times in many cases versus a plain minified script.

 

This update should not contain any breaking changes. Happy jQuerying!

  • email
  • DotNetKicks
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • LinkedIn
  • Facebook
  • Twitter
  • Google Bookmarks
  • Live

Unofficial JQuery 1.3 Visual Studio Intellisense File

In lieu of the official Visual Studio 2008 Intellisense file for jQuery, the jQuery intellisense file generator at http://www.infobasis.com/sandpit/jQuery-Intellisense/ has been updated to support jQuery 1.3.0 (See this post for more details). The will allow you to get proper jQuery 1.3 intellisense in your applications until the official version is released. The above linked script generator uses the official jQuery API documentation to build the intellisense file, so you don’t need to worry about it being inaccurate or imcomplete just because it’s not the “official” version.

Happy jQuerying!

  • email
  • DotNetKicks
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • LinkedIn
  • Facebook
  • Twitter
  • Google Bookmarks
  • Live

jQuery 1.3.0 Released!

A quick glance at the jQuery website today revealed that jQuery 1.3.0 has been released and is available for download! This release coincides with jQuery’s third birthday. You can find the release notes for jQuery 1.3 here. At this moment there is no link for an updated Visual Studio intellisense file, but using the old one should get you by for now.

I blogged previously about this release and the performance enhancements it’s expected to bring, but the release notes spell out in detail the performance differences of the new selector engine.

Along with this release, jQuery has created a new API Browser at http://api.jquery.com that is available in addition to the existing jQuery docs site. Whats nice about the new api browser is it can be downloaded and installed as an Adobe Air application.

Happy birthday jQuery!

  • email
  • DotNetKicks
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • LinkedIn
  • Facebook
  • Twitter
  • Google Bookmarks
  • Live

VS2008 SP1 Hotfix to Support “-vsdoc.js” IntelliSense Doc Files

Back in October of last year Microsoft released Visual Studio 2008 SP1 which fixed intellisense support for several javascript libraries, including JQuery. In order to use this with jQuery though, it was necessary to download a seperate jQuery intellisense file and add references to it. If you wanted the intellisense in a js file, you’d reference it using a standard js reference like this:

/// <reference path="MyIntellisenseFile.js" />

However, if you needed intellisense in an ASP.Net page, you needed to add the reference to the intellisense file in a server tag that would prevent it from being sent to the client, usually by wrapping the script reference tag like this:

<% if(false) { %>
<script src="MyIntellisenseFile.js" type="text/javascript"></script>
<% } %>

Unbeknowst to me, Last November the VS Web Tools team released a hotfix to VS 2008 SP1 that alleviates a lot of this trouble. Now all you have to do is just reference the jQuery library and have the intelisense file in the same directory following the naming convention of filename-vsdoc.js (e.g. if your jQuery file is named jQuery.js, your intellisense file would be named jQuery-vsdoc.js) and Visual Studio will automatically find the file and provide you with intellisense support. No more conditional ASP.Net server tags. Woo! The VS 2008 hotfix is currently available on the MSDN Code Gallery.

If you’re looking for the official Visual Studio intellisense file for jQuery, you can grab it from the jQuery downloads page (It’s found in the Current Release section). Thanks to Joe Healy for pointing out to me that there was an official version.

  • email
  • DotNetKicks
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • LinkedIn
  • Facebook
  • Twitter
  • Google Bookmarks
  • Live