зеркало из https://github.com/mozilla/popcorn-js.git
Merge pull request #122 from dseif/t1105
[#1105] Fixed core test which in turn fixed this ticket
This commit is contained in:
Коммит
e18787fd85
|
@ -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" );
|
||||
|
|
Загрузка…
Ссылка в новой задаче