jQuery Library for SharePoint Web Services v0.3.1 Released

We released v0.3.1 of the jQuery Library for SharePoint Web Services today on Codeplex.  It’s been a week since the last release, and we’ve had a satisfying 85 downloads of v0.3.0.  Based on the emails I’ve been getting and the mentions I’ve seen on Twitter, this library is helping a lot of folks get real things done, which is the main point of launching it in the first place.

This release is primarily focused on efficiency and code refactoring. However, we have added one new function: $().SPServices.SPGetCurrentUser (see details below).

For this release, we are also making a minified version available. (Minification done with The JavaScript CompressorRater with YUI Compressor 2.4.2 with no options being the winning method.) We recommend building and testing with the non-minified version for easier debugging, and then final testing with the minified version. Please report any issues you have with the minified version.

New Functions

Function Description
$().SPServices.SPGetCurrentUser This function returns the account for the current user. It is based on an inciteful trick from Einar Otto Stangvik (see Credits).

 

Changes to Options

Function Operation Options Description
$().SPServices.SPDisplayRelatedInfo NA [headerCSSClass], [rowCSSClass] Added these two options to enable control of the table display. Defaults are “ms-vh2” and “ms-vb”, respectively.

 

Bug Fixes

  • Fixed several small, unreported bugs. Some of these were made apparent by the process of minifying the .js file.

Efficiencies

  • Existing code reorganized and in some places simplified to reduce the byte count
  • New private function wrapNode implemented to reduce the number of characters required to generate XML nodes

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.