提交 d3d1d828 编写于 作者: J Jason Park

rename hash "algorithm" to "path"

上级 6d6faa2b
......@@ -583,11 +583,11 @@ var executeDataAndCode = function () {
var setPath = function (category, algorithm, file) {
var path = category ? category + (algorithm ? '/' + algorithm + (file ? '/' + file : '') : '') : '';
setHashValue('algorithm', path);
setHashValue('path', path);
};
var getPath = function () {
var hash = getHashValue('algorithm');
var hash = getHashValue('path');
if (hash) {
var parts = hash.split('/');
return {category: parts[0], algorithm: parts[1], file: parts[2]};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册