Fix typo.

This commit is contained in:
Paulo Gustavo Veiga 2022-08-13 10:42:20 -07:00
parent 5d93b5bd49
commit c981276183
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
// Passive event listeners
function regiterTouchHandler(jQuery) {
function registerTouchHandler(jQuery) {
jQuery.event.special.touchstart = {
setup: function (_, ns, handle) {
@ -12,4 +12,4 @@ function regiterTouchHandler(jQuery) {
}
};
}
export default regiterTouchHandler;
export default registerTouchHandler;

View File

@ -21,9 +21,9 @@ import { Point } from '@wisemapping/web2d';
// https://stackoverflow.com/questions/60357083/does-not-use-passive-listeners-to-improve-scrolling-performance-lighthouse-repo
// https://web.dev/uses-passive-event-listeners/?utm_source=lighthouse&utm_medium=lr
// eslint-disable-next-line import/extensions
import regiterTouchHandler from '../../../../libraries/jquery.touchevent';
import registerTouchHandler from '../../../../libraries/jquery.touchevent';
regiterTouchHandler($);
registerTouchHandler($);
class ScreenManager {
private _divContainer: JQuery;