mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
jQuery core style guide conformance: jquery.mobile.event.js - fix string concat & split
This commit is contained in:
parent
05059f30d5
commit
19e36d2fff
1 changed files with 2 additions and 2 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue