Skip to content

Commit 09c4386

Browse files
committed
rename hash "algorithm" to "path"
1 parent 4bb8998 commit 09c4386

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,11 +583,11 @@ var executeDataAndCode = function () {
583583

584584
var setPath = function (category, algorithm, file) {
585585
var path = category ? category + (algorithm ? '/' + algorithm + (file ? '/' + file : '') : '') : '';
586-
setHashValue('algorithm', path);
586+
setHashValue('path', path);
587587
};
588588

589589
var getPath = function () {
590-
var hash = getHashValue('algorithm');
590+
var hash = getHashValue('path');
591591
if (hash) {
592592
var parts = hash.split('/');
593593
return {category: parts[0], algorithm: parts[1], file: parts[2]};

0 commit comments

Comments
 (0)