Fix JSDoc generated links
This commit is contained in:
+4
-4
@@ -34,7 +34,7 @@ import {clear} from './obj.js';
|
||||
* https://google.github.io/closure-library/api/source/closure/goog/events/events.js.src.html
|
||||
*
|
||||
* This function efficiently binds a `listener` to a `this` object, and returns
|
||||
* a key for use with {@link module:ol/events~unlistenByKey}.
|
||||
* a key for use with {@link module:ol/events.unlistenByKey}.
|
||||
*
|
||||
* @param {import("./events/Target.js").EventTargetLike} target Event target.
|
||||
* @param {string} type Event type.
|
||||
@@ -70,10 +70,10 @@ export function listen(target, type, listener, opt_this, opt_once) {
|
||||
*
|
||||
* This function efficiently binds a `listener` as self-unregistering listener
|
||||
* to a `this` object, and returns a key for use with
|
||||
* {@link module:ol/events~unlistenByKey} in case the listener needs to be
|
||||
* {@link module:ol/events.unlistenByKey} in case the listener needs to be
|
||||
* unregistered before it is called.
|
||||
*
|
||||
* When {@link module:ol/events~listen} is called with the same arguments after this
|
||||
* When {@link module:ol/events.listen} is called with the same arguments after this
|
||||
* function, the self-unregistering listener will be turned into a permanent
|
||||
* listener.
|
||||
*
|
||||
@@ -93,7 +93,7 @@ export function listenOnce(target, type, listener, opt_this) {
|
||||
* https://google.github.io/closure-library/api/source/closure/goog/events/events.js.src.html
|
||||
*
|
||||
* The argument passed to this function is the key returned from
|
||||
* {@link module:ol/events~listen} or {@link module:ol/events~listenOnce}.
|
||||
* {@link module:ol/events.listen} or {@link module:ol/events.listenOnce}.
|
||||
*
|
||||
* @param {EventsKey} key The key.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user