Skip to content

Commit

Permalink
Release-v0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan You committed Feb 25, 2014
1 parent c518685 commit 918797c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"],
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue",
"version": "0.9.1",
"version": "0.9.2",
"main": "src/main.js",
"author": "Evan You <[email protected]>",
"description": "Simple, Fast & Composable MVVM for building interative interfaces",
Expand Down
12 changes: 10 additions & 2 deletions dist/vue.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Vue.js v0.9.1
Vue.js v0.9.2
(c) 2014 Evan You
License: MIT
*/
Expand Down Expand Up @@ -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)
})
}

Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions dist/vue.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue",
"version": "0.9.1",
"version": "0.9.2",
"author": {
"name": "Evan You",
"email": "[email protected]",
Expand Down

0 comments on commit 918797c

Please sign in to comment.