![JAR search and dependency download from the Maven repository](/logo.png)
a.hyperscala-ui_2.11.0.10.3.source-code.dynamic_url.js Maven / Gradle / Ivy
var currentHash = null;
$(function() {
jsFireHashChanged(true);
$(window).on('hashchange', function() {
jsFireHashChanged();
});
});
function jsFireHashChanged(alwaysFire) {
var hash = window.location.hash;
if (hash != currentHash || alwaysFire) {
var body = $('body');
if (hash.indexOf('#') == 0) {
hash = hash.substring(1);
}
realtime.send({
type: 'hashChanged',
hash: hash
});
currentHash = hash;
}
}
function setHash(newValue) {
currentHash = '#' + newValue;
if ('pushState' in history) {
history.pushState(null, null, currentHash);
} else {
window.location.hash = currentHash;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy