|
|
@ -9,9 +9,8 @@ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
( function( window, factory ) { |
|
|
|
( function( window, factory ) { |
|
|
|
'use strict'; |
|
|
|
|
|
|
|
// universal module definition
|
|
|
|
// universal module definition
|
|
|
|
|
|
|
|
/* jshint strict: false */ /*globals define, module, require */ |
|
|
|
if ( typeof define == 'function' && define.amd ) { |
|
|
|
if ( typeof define == 'function' && define.amd ) { |
|
|
|
// AMD
|
|
|
|
// AMD
|
|
|
|
define( [ |
|
|
|
define( [ |
|
|
@ -29,7 +28,7 @@ |
|
|
|
function( Outlayer, getSize, matchesSelector, utils, Item, LayoutMode ) { |
|
|
|
function( Outlayer, getSize, matchesSelector, utils, Item, LayoutMode ) { |
|
|
|
return factory( window, Outlayer, getSize, matchesSelector, utils, Item, LayoutMode ); |
|
|
|
return factory( window, Outlayer, getSize, matchesSelector, utils, Item, LayoutMode ); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} else if ( typeof exports == 'object' ) { |
|
|
|
} else if ( typeof module == 'object' && module.exports ) { |
|
|
|
// CommonJS
|
|
|
|
// CommonJS
|
|
|
|
module.exports = factory( |
|
|
|
module.exports = factory( |
|
|
|
window, |
|
|
|
window, |
|
|
|