page_helpers.js 358 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
define([ // jshint ignore:line
],
function() {
    'use strict';
    var getLocationHash;
    /**
     * Helper method that returns url hash.
     * @return {String} Returns anchor part of current url.
     */
    getLocationHash = function() {
        return window.location.hash;
    };

    return {
        'getLocationHash': getLocationHash
    };

});