hypothetical/resources/assets/js/site-vars.js
2015-12-12 22:34:00 -05:00

3 lines
106 B
JavaScript

var SiteVars = {
page: location.href.replace(/^[^:]*:\/\/[^\/]*\//, '').replace(/(\/|#|\?).*/, '')
};