func JQMRouteOnce(h jqeventrouter.Handler) jqeventrouter.Handler {
	return jqeventrouter.HandlerFunc(func(event *jquery.Event, ui *js.Object, p url.Values) bool {
		if ui.Get("_jqmrouteonce").Bool() {
			return true
		}
		ui.Set("_jqmrouteonce", true)
		return h.HandleEvent(event, ui, p)
	})
}
// JQMRouteOnce ensures that each jQuery Mobile page is only routed once, even when the event is triggered twice (which is common for certain events)
JQMRouteOnce ensures that each jQuery Mobile page is only routed once, even when the event is triggered twice (which is common for certain events)
// JQMRouteOnce ensures that each jQuery Mobile page is only routed once even when the event is triggered twice ( which is common for certain events )
func JQMRouteOnce(h jqeventrouter.Handler) jqeventrouter.Handler {
	return jqeventrouter.HandlerFunc(func(event *jquery.Event, ui *js.Object, p url.Values) bool {
		if ui.Get("_jqmrouteonce").Bool() {
			return true
		}
		ui.Set("_jqmrouteonce", true)
		return h.HandleEvent(event, ui, p)
	})
}
func JQMRouteOnce ( h jqeventrouter . Handler ) jqeventrouter . Handler { return jqeventrouter . HandlerFunc ( func ( event * jquery . Event , ui * js . Object , p url . Values ) bool { if ui . Get ( " " ) . Bool ( ) { return true } ui . Set ( " " , true ) return h . HandleEvent ( event , ui , p ) } ) }
JQMRouteOnce ensures that each jQuery Mobile page is only routed once, even when the event is triggered twice (which is common for certain events)
JQMRouteOnce ensures that each jQuery Mobile page is only routed once even when the event is triggered twice ( which is common for certain events )