new TokenTransformer()
This class is an implementation of goog.history.Html5History.TokenTransformer.
I needed to create a new TokenTransformer, because goog's TokenTransformer
always appends the query string end of the created url. See http://goo.gl/8q40Cc
That behaviour creates URLs like which has multiple ?
in it somethig like
that /books?sortBy=name&order=asc?query=alex?section=sci-fi
.
I thought it's a bug and created my own TokenTransformer.
- Source:
Methods
-
createUrl()
-
- Source:
-
retrieveToken()
-
- Source: