Permalink
Browse files

Options for f51

Signed-off-by: Alexander Dorofeev <aka.spin@gmail.com>
  • Loading branch information...
1 parent 1ab2592 commit 060cd59089c12ede6941ec00e152199a02bac16a @akaspin committed Jun 18, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 jquery.f51.js
View
5 jquery.f51.js
@@ -136,9 +136,8 @@
poll : 500 // Poll time in milliseconds
}
- if (options) {
- $.extend(true, settings, options);
- }
+ options = !!options ? options : {};
+ options = $.extend(true, settings, options);
// Polyfill with f5

0 comments on commit 060cd59

Please sign in to comment.