فهرست منبع

[release] 1.0.7

Evan You 10 سال پیش
والد
کامیت
6ce6e0c995
4فایلهای تغییر یافته به همراه11 افزوده شده و 12 حذف شده
  1. 8 9
      dist/vue.js
  2. 1 1
      dist/vue.min.js
  3. 1 1
      package.json
  4. 1 1
      src/vue.js

+ 8 - 9
dist/vue.js

@@ -1,5 +1,5 @@
 /*!
- * Vue.js v1.0.6
+ * Vue.js v1.0.7
  * (c) 2015 Evan You
  * Released under the MIT License.
  */
@@ -146,7 +146,7 @@ return /******/ (function(modules) { // webpackBootstrap
 	extend(p, __webpack_require__(65))
 	extend(p, __webpack_require__(66))
 
-	Vue.version = '1.0.6'
+	Vue.version = '1.0.7'
 	module.exports = _.Vue = Vue
 
 	/* istanbul ignore if */
@@ -2971,8 +2971,8 @@ return /******/ (function(modules) { // webpackBootstrap
 	    // either an element directive, or if/for
 	    def: def || publicDirectives[dirName]
 	  }
-	  // check ref for v-for
-	  if (dirName === 'for') {
+	  // check ref for v-for and router-view
+	  if (dirName === 'for' || dirName === 'router-view') {
 	    descriptor.ref = _.findRef(el)
 	  }
 	  var fn = function terminalNodeLinkFn (vm, el, host, scope, frag) {
@@ -5507,10 +5507,11 @@ return /******/ (function(modules) { // webpackBootstrap
 	      // transition related state
 	      this.pendingRemovals = 0
 	      this.pendingRemovalCb = null
-	      // check dynamic component params
-	        // create a ref anchor
+	      // create a ref anchor
 	      this.anchor = _.createAnchor('v-component')
 	      _.replace(this.el, this.anchor)
+	      // remove is attribute
+	      this.el.removeAttribute('is')
 	      // if static, build right now.
 	      if (this.literal) {
 	        this.setComponent(this.expression)
@@ -7587,9 +7588,7 @@ return /******/ (function(modules) { // webpackBootstrap
 	          'Prop "' + name + '" expects a two-way binding type.'
 	        )
 	      }
-	    /* eslint-disable no-cond-assign */
-	    } else if (value = _.attr(el, attr)) {
-	    /* eslint-enable no-cond-assign */
+	    } else if ((value = _.attr(el, attr)) !== null) {
 	      // has literal binding!
 	      prop.raw = value
 	    } else if (options.required) {

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
dist/vue.min.js


+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "vue",
-  "version": "1.0.6",
+  "version": "1.0.7",
   "author": "Evan You <yyx990803@gmail.com>",
   "license": "MIT",
   "description": "Simple, Fast & Composable MVVM for building interactive interfaces",

+ 1 - 1
src/vue.js

@@ -85,7 +85,7 @@ extend(p, require('./api/dom'))
 extend(p, require('./api/events'))
 extend(p, require('./api/lifecycle'))
 
-Vue.version = '1.0.6'
+Vue.version = '1.0.7'
 module.exports = _.Vue = Vue
 
 /* istanbul ignore if */

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است