update docs about config: m.route
This commit is contained in:
parent
51d073e414
commit
f0b20da30a
3 changed files with 11 additions and 3 deletions
|
|
@ -700,7 +700,7 @@ var m = (function app(window, undefined) {
|
|||
var element = arguments[0];
|
||||
var isInitialized = arguments[1];
|
||||
var context = arguments[2];
|
||||
element.href = (m.route.mode !== 'pathname' ? $location.pathname : '') + modes[m.route.mode] + (this.attrs ? this.attrs.href : '');
|
||||
element.href = (m.route.mode !== 'pathname' ? $location.pathname : '') + modes[m.route.mode] + vdom.attrs.href;
|
||||
if (element.addEventListener) {
|
||||
element.removeEventListener("click", routeUnobtrusive);
|
||||
element.addEventListener("click", routeUnobtrusive)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue