Skip to content

Commit

Permalink
[build] 0.7.13
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 7, 2016
1 parent c5dfe99 commit 6441476
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions dist/vue-router.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v0.7.12
* vue-router v0.7.13
* (c) 2016 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -1875,7 +1875,6 @@
function Link (Vue) {
var _Vue$util = Vue.util;
var _bind = _Vue$util.bind;
var getAttr = _Vue$util.getAttr;
var isObject = _Vue$util.isObject;
var addClass = _Vue$util.addClass;
var removeClass = _Vue$util.removeClass;
Expand Down Expand Up @@ -1928,8 +1927,9 @@
// update things when the route changes
this.unwatch = vm.$watch('$route', _bind(this.onRouteUpdate, this));
// check v-link-active ids
var activeIds = getAttr(this.el, LINK_UPDATE);
var activeIds = this.el.getAttribute(LINK_UPDATE);
if (activeIds) {
this.el.removeAttribute(LINK_UPDATE);
this.activeIds = activeIds.split(',');
}
// no need to handle click if link expects to be opened
Expand Down
Loading

0 comments on commit 6441476

Please sign in to comment.