mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-28 01:44:45 +00:00
clean scoping add, comment
This commit is contained in:
parent
49eeccdde3
commit
2c7789b6a3
1 changed files with 4 additions and 2 deletions
|
|
@ -6,8 +6,10 @@
|
|||
*/
|
||||
( function( $, window ) {
|
||||
// For now, let's Monkeypatch this onto the end of $.mobile._registerInternalEvents
|
||||
var self,
|
||||
pushStateHandler = self = {},
|
||||
// Scope self to pushStateHandler so we can reference it sanely within the
|
||||
// methods handed off as event handlers
|
||||
var pushStateHandler = {},
|
||||
self = pushStateHandler,
|
||||
oldRegisterInternalEvents = $.mobile._registerInternalEvents,
|
||||
$win = $( window );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue