Browse Source

[release] 0.12.15

Evan You 10 years ago
parent
commit
431563fe92
3 changed files with 27 additions and 7 deletions
  1. 25 5
      dist/vue.js
  2. 1 1
      dist/vue.min.js
  3. 1 1
      package.json

+ 25 - 5
dist/vue.js

@@ -1,5 +1,5 @@
 /*!
- * Vue.js v0.12.14
+ * Vue.js v0.12.15
  * (c) 2015 Evan You
  * Released under the MIT License.
  */
@@ -4241,7 +4241,7 @@ return /******/ (function(modules) { // webpackBootstrap
 	}
 
 	var tagRE = /<([\w:]+)/
-	var entityRE = /&\w+;/
+	var entityRE = /&\w+;|&#\d+;|&#x[\dA-F]+;/
 
 	/**
 	 * Convert a string template to a DocumentFragment.
@@ -5842,7 +5842,9 @@ return /******/ (function(modules) { // webpackBootstrap
 	    // CSS transitions.
 	    document.hidden ||
 	    // explicit js-only transition
-	    (this.hooks && this.hooks.css === false)
+	    (this.hooks && this.hooks.css === false) ||
+	    // element is hidden
+	    isHidden(this.el)
 	  ) {
 	    return
 	  }
@@ -5892,6 +5894,20 @@ return /******/ (function(modules) { // webpackBootstrap
 	  _.on(el, event, onEnd)
 	}
 
+	/**
+	 * Check if an element is hidden - in that case we can just
+	 * skip the transition alltogether.
+	 *
+	 * @param {Element} el
+	 * @return {Boolean}
+	 */
+
+	function isHidden (el) {
+	  return el.style.display === 'none' ||
+	    el.style.visibility === 'hidden' ||
+	    el.hidden
+	}
+
 	module.exports = Transition
 
 
@@ -6127,7 +6143,11 @@ return /******/ (function(modules) { // webpackBootstrap
 	        // in IE11 the "compositionend" event fires AFTER
 	        // the "input" event, so the input handler is blocked
 	        // at the end... have to call it here.
-	        self.listener()
+	        //
+	        // #1327: in lazy mode this is unecessary.
+	        if (!lazy) {
+	          self.listener()
+	        }
 	      })
 	    }
 
@@ -6411,7 +6431,7 @@ return /******/ (function(modules) { // webpackBootstrap
 	    op = options[i]
 	    if (!op.options) {
 	      el = document.createElement('option')
-	      if (typeof op === 'string') {
+	      if (typeof op === 'string' || typeof op === 'number') {
 	        el.text = el.value = op
 	      } else {
 	        if (op.value != null && !_.isObject(op.value)) {

File diff suppressed because it is too large
+ 1 - 1
dist/vue.min.js


+ 1 - 1
package.json

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

Some files were not shown because too many files changed in this diff