Interaction: Linting

This commit is contained in:
Jörn Zaefferer 2012-05-25 17:12:06 +02:00
parent 9f454b2f3d
commit 3f9adca042

View File

@ -12,7 +12,7 @@
*/ */
(function( $, undefined ) { (function( $, undefined ) {
var interaction; // = $.ui.interaction var interaction, touchHook, pointerHook;
$.widget( "ui.interaction", { $.widget( "ui.interaction", {
version: "@VERSION", version: "@VERSION",
@ -46,7 +46,7 @@ $.widget( "ui.interaction", {
var that = this; var that = this;
return function( event, target, pointerPosition ) { return function( event, target, pointerPosition ) {
return that._interactionStart( event, target, pointerPosition, hook ); return that._interactionStart( event, target, pointerPosition, hook );
} };
}, },
_interactionStart: function( 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 ) { setup: function( widget, start ) {
widget._bind( widget.widget(), { widget._bind( widget.widget(), {
"touchstart": function( event ) { "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 ) { setup: function( widget, start ) {
widget._bind( widget.widget(), { widget._bind( widget.widget(), {
"MSPointerDown": function( _event ) { "MSPointerDown": function( _event ) {