jQuery Roundup: 1.7.1, jquip, jQuery Mobile 1.0

22 Nov 2011 | By Alex Young | Tags jquery plugins mobile

Note: You can send your plugins and articles in for review through our contact form or @dailyjs.

jQuery 1.7.1

jQuery 1.7.1 has been released, soon after 1.7. This version is a maintenance release with bug fixes and some code tidying. There are also some performance tweaks — for example, ticket #10733 replaces $.each in the CSS module with regular for loops.


jquip by Demis Bellot and Jey Balachandran is an attempt to modularise jQuery to make it easier to pick the parts of jQuery that are actually required. Although jQuery’s developers are addressing size issues, outlined in last week’s blog post Building a Slimmer jQuery, jquip splits jQuery into a core library and a set of plugins. The plugins include modules like css, documentReady, and ajax.

Although jQuery’s source is already broken up into modules, jquip uses $.addPlugin('docready', function($) { which is found in src/jquip.js:

$.addPlugin = function (meta, fn)
  var name = typeof meta == "string" ? meta : meta['name'];
  fn = typeof meta == "function" ? meta : fn;
  if (typeof fn != "function") throw "Plugin fn required";
  if (name && fn) plugins[name] = fn;

The authors claim that jquip.js minified and zipped is 13% of the size of the equivalent jQuery download — I tested this against jQuery 1.7.1 and I got the same result. It’s worth remembering that the authors don’t expect to replace jQuery with jquip, they’re just trying to inspire a change in direction.

jQuery Mobile 1.0

jQuery Mobile 1.0 has been released. This version is 30% faster than RC2, and includes some new jQuery Mobile documentation.

jQuery Mobile has a platform support rating system where each major mobile platform is given a grade. Apple iOS 3.2-5.0, Android 2.1-2.3, Android Honeycomb, Windows Phone 7-7.5, Kindle Fire, and plenty of other popular platforms have been tested on a variety of devices and awarded the A grade.

blog comments powered by Disqus