|
1 | 1 | /*! |
2 | | - * Vue.js v1.0.6 |
| 2 | + * Vue.js v1.0.7 |
3 | 3 | * (c) 2015 Evan You |
4 | 4 | * Released under the MIT License. |
5 | 5 | */ |
@@ -146,7 +146,7 @@ return /******/ (function(modules) { // webpackBootstrap |
146 | 146 | extend(p, __webpack_require__(65)) |
147 | 147 | extend(p, __webpack_require__(66)) |
148 | 148 |
|
149 | | - Vue.version = '1.0.6' |
| 149 | + Vue.version = '1.0.7' |
150 | 150 | module.exports = _.Vue = Vue |
151 | 151 |
|
152 | 152 | /* istanbul ignore if */ |
@@ -2971,8 +2971,8 @@ return /******/ (function(modules) { // webpackBootstrap |
2971 | 2971 | // either an element directive, or if/for |
2972 | 2972 | def: def || publicDirectives[dirName] |
2973 | 2973 | } |
2974 | | - // check ref for v-for |
2975 | | - if (dirName === 'for') { |
| 2974 | + // check ref for v-for and router-view |
| 2975 | + if (dirName === 'for' || dirName === 'router-view') { |
2976 | 2976 | descriptor.ref = _.findRef(el) |
2977 | 2977 | } |
2978 | 2978 | var fn = function terminalNodeLinkFn (vm, el, host, scope, frag) { |
@@ -5507,10 +5507,11 @@ return /******/ (function(modules) { // webpackBootstrap |
5507 | 5507 | // transition related state |
5508 | 5508 | this.pendingRemovals = 0 |
5509 | 5509 | this.pendingRemovalCb = null |
5510 | | - // check dynamic component params |
5511 | | - // create a ref anchor |
| 5510 | + // create a ref anchor |
5512 | 5511 | this.anchor = _.createAnchor('v-component') |
5513 | 5512 | _.replace(this.el, this.anchor) |
| 5513 | + // remove is attribute |
| 5514 | + this.el.removeAttribute('is') |
5514 | 5515 | // if static, build right now. |
5515 | 5516 | if (this.literal) { |
5516 | 5517 | this.setComponent(this.expression) |
@@ -7587,9 +7588,7 @@ return /******/ (function(modules) { // webpackBootstrap |
7587 | 7588 | 'Prop "' + name + '" expects a two-way binding type.' |
7588 | 7589 | ) |
7589 | 7590 | } |
7590 | | - /* eslint-disable no-cond-assign */ |
7591 | | - } else if (value = _.attr(el, attr)) { |
7592 | | - /* eslint-enable no-cond-assign */ |
| 7591 | + } else if ((value = _.attr(el, attr)) !== null) { |
7593 | 7592 | // has literal binding! |
7594 | 7593 | prop.raw = value |
7595 | 7594 | } else if (options.required) { |
|
0 commit comments