1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-29 05:42:20 +00:00

edit ditto.js

This commit is contained in:
ruanyf 2014-04-26 02:04:48 +08:00
parent 1cd7e8b754
commit 73d451a612

View File

@ -204,7 +204,7 @@ function router() {
reload: true, reload: true,
config: function () { config: function () {
this.page.identifier = location.hash; this.page.identifier = location.hash;
this.page.url = location.href; this.page.url = 'http://'+location.host+'/'+location.hash.replace("#", "");
} }
}); });
} }