Lines Matching refs:state
253 pjax.state = { class in pjax
263 window.history.replaceState(pjax.state, container.title, container.url)
285 pjax.state.url = url.href
286 window.history.replaceState(pjax.state, container.title, url.href)
300 if (!pjax.state) {
301 pjax.state = { class in pjax
309 window.history.replaceState(pjax.state, document.title)
325 cachePush(pjax.state.id, context.clone().contents())
365 var initialState = window.history.state
371 pjax.state = initialState
384 var state = event.state
386 if (state && state.container) {
390 if (initialPop && initialURL == state.url) return
392 var container = $(state.container)
394 var direction, contents = cacheMapping[state.id]
396 if (pjax.state) {
399 direction = pjax.state.id < state.id ? 'forward' : 'back'
403 cachePop(direction, pjax.state.id, container.clone().contents())
407 state: state,
413 id: state.id,
414 url: state.url,
417 fragment: state.fragment,
418 timeout: state.timeout,
425 if (state.title) document.title = state.title
427 pjax.state = state