EventIndexPeg: Move a docstring to the correct place.

This commit is contained in:
Damir Jelić 2019-11-18 10:27:10 +01:00
parent 910c3ac08d
commit ddb536e94a

View file

@ -30,7 +30,8 @@ class EventIndexPeg {
this.index = null;
}
/** Create a new EventIndex and initialize it if the platform supports it.
/**
* Create a new EventIndex and initialize it if the platform supports it.
*
* @return {Promise<bool>} A promise that will resolve to true if an
* EventIndex was successfully initialized, false otherwise.