mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-24 07:25:40 -06:00
9 lines
337 B
JavaScript
9 lines
337 B
JavaScript
|
QUnit.test( 'initLayout', function( assert ) {
|
||
|
var container = document.querySelector('#is-init-layout');
|
||
|
var pckry = new Packery( container, {
|
||
|
initLayout: false
|
||
|
});
|
||
|
assert.ok( !pckry._isLayoutInited, 'packy is not layout initialized' );
|
||
|
assert.equal( container.children[0].style.left, '', 'no style on first child' );
|
||
|
});
|