Merge pull request #13766 from pchaussalet/master

Fix appendHash property type in hasher
This commit is contained in:
Andy
2017-01-05 14:04:49 -08:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -11,4 +11,6 @@ hasher.init(); //initialize hasher (start listening for history changes)
hasher.setHash('foo'); //change hash value (generates new history record)
hasher.appendHash = '?test=true';
hasher.prependHash = '!'; //default value is "/"
+1 -1
View File
@@ -13,7 +13,7 @@ declare namespace HasherJs {
// {string} hasher.appendHash
// String that should always be added to the end of Hash value.
appendHash(): string;
appendHash: string;
// default value: '';
// will be automatically removed from `hasher.getHash()`