%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 188.40.95.74 / Your IP : 216.73.216.142 Web Server : Apache System : Linux cp01.striminghost.net 3.10.0-1160.119.1.el7.tuxcare.els13.x86_64 #1 SMP Fri Nov 22 06:29:45 UTC 2024 x86_64 User : vlasotin ( 1054) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/vlasotin/public_html/assets/plugins/jqueryui/app/src/ |
Upload File : |
/*jshint jquery: true, browser: true */ /*global EventEmitter: false */ /*! * jQuery UI helper JavaScript file for History and hash support * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ (function( exports, $, EventEmitter, undefined ) { var emitter = new EventEmitter(), // listen to hash changes? listen = true, listenDelay = 600, pollInterval = 500, poll = null, storedHash = ""; // start listening again function startListening() { setTimeout(function() { listen = true; }, listenDelay ); } // stop listening to hash changes function stopListening() { listen = false; } // check if hash has changed function checkHashChange() { var hash = currHash(); if ( storedHash !== hash ) { if ( listen === true ) { // update was made by navigation button if ( hash ) { hash = hash.replace( /^!*/, "" ); } emitter.trigger( "change", [ hash ] ); } storedHash = hash; } if ( !poll ) { poll = setInterval( checkHashChange, pollInterval ); } } function updateHash( hash, options ) { options = options || {}; if ( ( hash == null || hash.length === 0 ) && !(/#/).test( location.href ) ) { // If setting hash to null, but it has never been set to anything yet, simply do nothing. return; } if ( options.ignoreChange === true ) { stopListening(); } window.location.hash = hash.replace( /^!*(.*)/, "!$1" ); if ( options.ignoreChange === true ) { storedHash = hash; startListening(); } } function clean( hash ) { return hash.replace( /^[\?#]+/g, "" ); } function currHash() { // Can't use window.location.hash, because Firefox automatically decodes it. return location.href.split( "#" )[ 1 ]; } function currSearch() { return clean( window.location.search ); } function init() { storedHash = ""; checkHashChange(); } if ( currSearch() ) { location.href = location.pathname.replace( /\/$/, "" ) + "/#" + currSearch(); } // Export public interface exports.Hash = { init: init, on: $.proxy( emitter.on, emitter ), off: $.proxy( emitter.off, emitter ), update: updateHash }; }( this, jQuery, EventEmitter ) );