mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Interaction: Linting
This commit is contained in:
parent
9f454b2f3d
commit
3f9adca042
8
ui/jquery.ui.interaction.js
vendored
8
ui/jquery.ui.interaction.js
vendored
@ -12,7 +12,7 @@
|
||||
*/
|
||||
(function( $, undefined ) {
|
||||
|
||||
var interaction; // = $.ui.interaction
|
||||
var interaction, touchHook, pointerHook;
|
||||
|
||||
$.widget( "ui.interaction", {
|
||||
version: "@VERSION",
|
||||
@ -46,7 +46,7 @@ $.widget( "ui.interaction", {
|
||||
var that = this;
|
||||
return function( event, target, pointerPosition ) {
|
||||
return that._interactionStart( event, target, pointerPosition, hook );
|
||||
}
|
||||
};
|
||||
},
|
||||
|
||||
_interactionStart: function( event, target, pointerPosition, hook ) {
|
||||
@ -149,7 +149,7 @@ function getTouch( event ) {
|
||||
}
|
||||
}
|
||||
|
||||
var touchHook = interaction.hooks.touch = {
|
||||
touchHook = interaction.hooks.touch = {
|
||||
setup: function( widget, start ) {
|
||||
widget._bind( widget.widget(), {
|
||||
"touchstart": function( event ) {
|
||||
@ -214,7 +214,7 @@ var touchHook = interaction.hooks.touch = {
|
||||
}
|
||||
};
|
||||
|
||||
var pointerHook = interaction.hooks.msPointer = {
|
||||
pointerHook = interaction.hooks.msPointer = {
|
||||
setup: function( widget, start ) {
|
||||
widget._bind( widget.widget(), {
|
||||
"MSPointerDown": function( _event ) {
|
||||
|
Loading…
Reference in New Issue
Block a user