![JAR search and dependency download from the Maven repository](/logo.png)
a.hyperscala-ui_2.10.0.9.0.source-code.dynamic_url.js Maven / Gradle / Ivy
The newest version!
var currentHash = null;
$(function() {
jsFireHashChanged();
$(window).on('hashchange', function() {
jsFireHashChanged();
});
});
function jsFireHashChanged() {
var hash = window.location.hash;
if (hash != currentHash) {
var body = $('body');
realtimeSend(null, '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