From 19e36d2fff06eaa6f52af5d50027f39095ed3a4e Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Wed, 29 Jun 2011 11:46:50 -0400 Subject: [PATCH] jQuery core style guide conformance: jquery.mobile.event.js - fix string concat & split --- js/jquery.mobile.event.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/jquery.mobile.event.js b/js/jquery.mobile.event.js index 70b46dc6..06e9a73f 100644 --- a/js/jquery.mobile.event.js +++ b/js/jquery.mobile.event.js @@ -7,8 +7,8 @@ (function( $, window, undefined ) { // add new event shortcuts -$.each( "touchstart touchmove touchend orientationchange throttledresize " + - "tap taphold swipe swipeleft swiperight scrollstart scrollstop".split( " " ), function( i, name ) { +$.each( ( "touchstart touchmove touchend orientationchange throttledresize " + + "tap taphold swipe swipeleft swiperight scrollstart scrollstop" ).split( " " ), function( i, name ) { $.fn[ name ] = function( fn ) { return fn ? this.bind( name, fn ) : this.trigger( name );