|
1 | 1 | /*! |
2 | | - * Isotope PACKAGED v3.0.1 |
| 2 | + * Isotope PACKAGED v3.0.2 |
3 | 3 | * |
4 | 4 | * Licensed GPLv3 for open source use |
5 | 5 | * or Isotope Commercial License for commercial use |
|
10 | 10 |
|
11 | 11 | /** |
12 | 12 | * Bridget makes jQuery widgets |
13 | | - * v2.0.0 |
| 13 | + * v2.0.1 |
14 | 14 | * MIT license |
15 | 15 | */ |
16 | 16 |
|
17 | 17 | /* jshint browser: true, strict: true, undef: true, unused: true */ |
18 | 18 |
|
19 | 19 | ( function( window, factory ) { |
20 | | - 'use strict'; |
21 | | - /* globals define: false, module: false, require: false */ |
22 | | - |
| 20 | + // universal module definition |
| 21 | + /*jshint strict: false */ /* globals define, module, require */ |
23 | 22 | if ( typeof define == 'function' && define.amd ) { |
24 | 23 | // AMD |
25 | 24 | define( 'jquery-bridget/jquery-bridget',[ 'jquery' ], function( jQuery ) { |
26 | | - factory( window, jQuery ); |
| 25 | + return factory( window, jQuery ); |
27 | 26 | }); |
28 | 27 | } else if ( typeof module == 'object' && module.exports ) { |
29 | 28 | // CommonJS |
@@ -528,7 +527,7 @@ return getSize; |
528 | 527 | })); |
529 | 528 |
|
530 | 529 | /** |
531 | | - * Fizzy UI utils v2.0.2 |
| 530 | + * Fizzy UI utils v2.0.3 |
532 | 531 | * MIT license |
533 | 532 | */ |
534 | 533 |
|
@@ -701,7 +700,8 @@ utils.debounceMethod = function( _class, methodName, threshold ) { |
701 | 700 | utils.docReady = function( callback ) { |
702 | 701 | var readyState = document.readyState; |
703 | 702 | if ( readyState == 'complete' || readyState == 'interactive' ) { |
704 | | - callback(); |
| 703 | + // do async to allow for other scripts to run. metafizzy/flickity#441 |
| 704 | + setTimeout( callback ); |
705 | 705 | } else { |
706 | 706 | document.addEventListener( 'DOMContentLoaded', callback ); |
707 | 707 | } |
@@ -749,7 +749,7 @@ utils.htmlInit = function( WidgetClass, namespace ) { |
749 | 749 | } |
750 | 750 | // initialize |
751 | 751 | var instance = new WidgetClass( elem, options ); |
752 | | - // make available via $().data('layoutname') |
| 752 | + // make available via $().data('namespace') |
753 | 753 | if ( jQuery ) { |
754 | 754 | jQuery.data( elem, namespace, instance ); |
755 | 755 | } |
@@ -2495,7 +2495,7 @@ return Item; |
2495 | 2495 | })); |
2496 | 2496 |
|
2497 | 2497 | /*! |
2498 | | - * Masonry v4.1.0 |
| 2498 | + * Masonry v4.1.1 |
2499 | 2499 | * Cascading grid layout library |
2500 | 2500 | * http://masonry.desandro.com |
2501 | 2501 | * MIT License |
@@ -2900,7 +2900,7 @@ return Vertical; |
2900 | 2900 | })); |
2901 | 2901 |
|
2902 | 2902 | /*! |
2903 | | - * Isotope v3.0.1 |
| 2903 | + * Isotope v3.0.2 |
2904 | 2904 | * |
2905 | 2905 | * Licensed GPLv3 for open source use |
2906 | 2906 | * or Isotope Commercial License for commercial use |
|
0 commit comments