mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
lint fix
This commit is contained in:
parent
a4e45a9458
commit
b519e24279
1 changed files with 2 additions and 0 deletions
|
@ -440,6 +440,7 @@ var SceneManager = new Class({
|
|||
{
|
||||
// There are listeners waiting for the event after 'init' has run, so emit it
|
||||
sys.events.emit('transitionstart', settings.transitionFrom, settings.transitionDuration);
|
||||
|
||||
// In case they forget to use `once`
|
||||
sys.events.off('transitionstart');
|
||||
|
||||
|
@ -610,6 +611,7 @@ var SceneManager = new Class({
|
|||
{
|
||||
// There are listeners waiting for the event after 'init' has run, so emit it
|
||||
sys.events.emit('transitionstart', settings.transitionFrom, settings.transitionDuration);
|
||||
|
||||
// In case they forget to use `once`
|
||||
sys.events.off('transitionstart');
|
||||
|
||||
|
|
Loading…
Reference in a new issue