Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Interaction: Linting

  • Loading branch information...
commit 3f9adca042751134d6545db8c129a9ae75a65b2f 1 parent 9f454b2
@jzaefferer jzaefferer authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 ui/jquery.ui.interaction.js
View
8 ui/jquery.ui.interaction.js
@@ -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 ) {
Please sign in to comment.
Something went wrong with that request. Please try again.