Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

jQuery roundup

  • Loading branch information...
commit c7533a5d2f55954b5a64eab8df6f24def500e051 1 parent 1c10538
Alex Young authored
Showing with 65 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +52 −0 _posts/2011-08-30-jquery-roundup.textile
  3. +12 −0 tags.html
View
1  .gitignore
@@ -2,3 +2,4 @@
_site
.DS_Store
tmp/*
+_drafts/
View
52 _posts/2011-08-30-jquery-roundup.textile
@@ -0,0 +1,52 @@
+---
+layout: post
+title: "jQuery Roundup: 1.6.3 RC1, Spin.js, imagesLoaded"
+author: Alex Young
+categories:
+- jquery
+- plugins
+- ui
+---
+
+<div class="intro">
+Note: You can send your plugins and articles in for review through our "contact form":/contact.html or "@dailyjs":http://twitter.com/dailyjs.
+</div>
+
+h3. jQuery 1.6.3 RC1
+
+"jQuery 1.6.3 RC1":http://blog.jquery.com/2011/08/29/jquery-1-6-3-rc1-released/ is out, which means the team is looking for feedback. The preferred way to submit bug reports is "jsFiddle":http://jsfiddle.net/ using the _jQuery (edge)_ option.
+
+The <code>requestAnimationFrame</code> has been removed to avoid problems caused when browsers schedule animations for hidden tabs. An XSS attack vector has been fixed by stopping HTML passed to <code>$()</code> from being evaluated if a <code>#</code> precedes the expression. HTML5 attribute support has also been improved.
+
+h3. Spin.js
+
+"Spin.js":http://fgnass.github.com/spin.js/ (GitHub: "fgnass / spin.js":https://github.com/fgnass/spin.js, License: _MIT_) by Felix Gnass is a small JavaScript library with no dependencies that creates spinners using CSS3 (or VML for Internet Explorer). I seem to remember a similar thing appearing on "37signals' blog":http://37signals.com/svn/posts/2577-loading-spinner-animation-using-css-and-webkit a year ago, but this library makes it easy for anyone to drop spinners into a page with little trouble.
+
+The author also has a suggested jQuery plugin wrapper in the documentation:
+
+{% highlight javascript %}
+$.fn.spin = function(opts) {
+ this.each(function() {
+ var $this = $(this),
+ spinner = $this.data('spinner');
+
+ if (spinner) spinner.stop();
+ if (opts !== false) {
+ opts = $.extend({color: $this.css('color')}, opts);
+ spinner = new Spinner(opts).spin(this);
+ $this.data('spinner', spinner);
+ }
+ });
+ return this;
+};
+{% endhighlight %}
+
+h3. jQuery imagesLoaded
+
+"jQuery imagesLoaded":http://desandro.github.com/imagesloaded/ (GitHub: "desandro / imagesloaded":https://github.com/desandro/imagesloaded) by David DeSandro (and based on a script by Paul Irish) is a small plugin for tracking when images have loaded inside a parent element. You get a callback which receives an array of images:
+
+{% highlight javascript %}
+$('selector').imagesLoaded(function($images) {
+ // Callback
+});
+{% endhighlight %}
View
12 tags.html
@@ -2819,6 +2819,10 @@ <h3 id="3d">3d</h3>
<div>23 Aug 2011</div>
<a href="/2011/08/23/jquery-roundup">jQuery Roundup: jStat, Art Text Light, Portamento</a>
</li>
+ <li>
+ <div>30 Aug 2011</div>
+ <a href="/2011/08/30/jquery-roundup">jQuery Roundup: 1.6.3 RC1, Spin.js, imagesLoaded</a>
+ </li>
</ul> <h3 id="jqueryui">jqueryui</h3>
<ul class="posts"> <li>
<div>25 Jan 2011</div>
@@ -4938,6 +4942,10 @@ <h3 id="3d">3d</h3>
<div>23 Aug 2011</div>
<a href="/2011/08/23/jquery-roundup">jQuery Roundup: jStat, Art Text Light, Portamento</a>
</li>
+ <li>
+ <div>30 Aug 2011</div>
+ <a href="/2011/08/30/jquery-roundup">jQuery Roundup: 1.6.3 RC1, Spin.js, imagesLoaded</a>
+ </li>
</ul> <h3 id="podcasts">podcasts</h3>
<ul class="posts"> <li>
<div>20 Oct 2010</div>
@@ -6410,6 +6418,10 @@ <h3 id="3d">3d</h3>
<div>23 Aug 2011</div>
<a href="/2011/08/23/jquery-roundup">jQuery Roundup: jStat, Art Text Light, Portamento</a>
</li>
+ <li>
+ <div>30 Aug 2011</div>
+ <a href="/2011/08/30/jquery-roundup">jQuery Roundup: 1.6.3 RC1, Spin.js, imagesLoaded</a>
+ </li>
</ul> <h3 id="ujs">ujs</h3>
<ul class="posts"> <li>
<div>27 Apr 2010</div>
Please sign in to comment.
Something went wrong with that request. Please try again.