mozilla/togetherjs — pull request #802 by NikolaMandic (2013-09-27 19:31:57+00:00)
Title: Include hash in url

hi,
I've changed two files:
togetherjs.js and session.js
added configuration
TogetherJSConfig_includeHashInUrl = true;
that if true triggers functions that adds listener to hashchange event like this
$(window).on("hashchange",function(){});

then in session file at beginning added
var includeHashInUrl=TogetherJS.getConfig('includeHashInUrl');

and throughout session.js
added checks like
if(includeHashInUrl)
tested it out in my app and it works
but I have to manually trigger hashchange in my angular app
because if I click on a link that changes hash event does not fire and when I click back button then fires