Evan You 12 anni fa
parent
commit
918797c793
5 ha cambiato i file con 14 aggiunte e 6 eliminazioni
  1. 1 1
      bower.json
  2. 1 1
      component.json
  3. 10 2
      dist/vue.js
  4. 1 1
      dist/vue.min.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
     "name": "vue",
-    "version": "0.9.1",
+    "version": "0.9.2",
     "main": "dist/vue.js",
     "description": "Simple, Fast & Composable MVVM for building interative interfaces",
     "authors": ["Evan You <yyx990803@gmail.com>"],

+ 1 - 1
component.json

@@ -1,6 +1,6 @@
 {
     "name": "vue",
-    "version": "0.9.1",
+    "version": "0.9.2",
     "main": "src/main.js",
     "author": "Evan You <yyx990803@gmail.com>",
     "description": "Simple, Fast & Composable MVVM for building interative interfaces",

+ 10 - 2
dist/vue.js

@@ -1,5 +1,5 @@
 /*
- Vue.js v0.9.1
+ Vue.js v0.9.2
  (c) 2014 Evan You
  License: MIT
 */
@@ -837,7 +837,9 @@ function Compiler (vm, options) {
     if (options.paramAttributes) {
         options.paramAttributes.forEach(function (attr) {
             var val = el.getAttribute(attr)
-            vm[attr] = isNaN(val) ? val : Number(val)
+            vm[attr] = (isNaN(val) || val === null)
+                ? val
+                : Number(val)
         })
     }
 
@@ -2776,6 +2778,12 @@ var endEvents  = sniffEndEvents(),
         SKIP      : -6
     }
 
+// force layout before triggering transitions/animations
+batcher._preFlush = function () {
+    /* jshint unused: false */
+    var f = document.body.offsetHeight
+}
+
 /**
  *  stage:
  *    1 = enter

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.9.1",
+  "version": "0.9.2",
   "author": {
     "name": "Evan You",
     "email": "yyx990803@gmail.com",

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