Browse Source

update getSize v1.2.1

pull/829/head
David DeSandro 10 years ago
parent
commit
22434cf07a
  1. 10
      dist/isotope.pkgd.js
  2. 4
      dist/isotope.pkgd.min.js

10
dist/isotope.pkgd.js vendored

@ -838,13 +838,13 @@ if ( typeof define === 'function' && define.amd ) {
})( window ); })( window );
/*! /*!
* getSize v1.2.0 * getSize v1.2.1
* measure size of elements * measure size of elements
* MIT license * MIT license
*/ */
/*jshint browser: true, strict: true, undef: true, unused: true */ /*jshint browser: true, strict: true, undef: true, unused: true */
/*global define: false, exports: false, require: false, module: false */ /*global define: false, exports: false, require: false, module: false, console: false */
( function( window, undefined ) { ( function( window, undefined ) {
@ -860,6 +860,8 @@ function getStyleSize( value ) {
return isValid && num; return isValid && num;
} }
function noop() {}
var logError = typeof console === 'undefined' ? noop : var logError = typeof console === 'undefined' ? noop :
function( message ) { function( message ) {
console.error( message ); console.error( message );
@ -935,10 +937,10 @@ function setup() {
if ( !style ) { if ( !style ) {
logError( 'Style returned ' + style + logError( 'Style returned ' + style +
'. Are you running this code in a hidden iframe on Firefox? ' + '. Are you running this code in a hidden iframe on Firefox? ' +
'See http://bit.ly/getsizeiframe' ); 'See http://bit.ly/getsizebug1' );
} }
return style; return style;
} };
})(); })();
// -------------------------- box sizing -------------------------- // // -------------------------- box sizing -------------------------- //

4
dist/isotope.pkgd.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save