Merge pull request #122 from dseif/t1105

[#1105] Fixed core test which in turn fixed this ticket
This commit is contained in:
Jon Buckley 2012-07-10 08:50:24 -07:00
Родитель 1209c2d734 f18d2d19c8
Коммит e18787fd85
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1299,6 +1299,10 @@ asyncTest( "Popcorn.events.hooks: attrchange fires when attribute setter methods
// The first attr call shouldn't emit attrchange, only the second one should
$pop[ attr ]( initialValue );
$pop[ attr ]( !initialValue );
// because we change the state of controls for this test
// we need to make sure we set it back to its initial value before continueing
$pop.off( "attrchange" );
$pop[ attr ]( initialValue );
});
module( "Popcorn.dom" );