Commit Graph

1636 Commits

Author SHA1 Message Date
Evan You
5fa45c3bf8 avoid ssr build warning when using minified build 2016-12-12 14:22:55 -05:00
Evan You
92473853dd avoid error when asserting mismatched nodes during hydration 2016-12-12 14:22:55 -05:00
chengchao
183bd43c3e fix v-bind.prop parse (fix #4432) (#4435)
* reset isProp value

* add test case

* update test case

* fix typo
2016-12-11 10:16:23 -05:00
Phan An
962b778e10 More informative warning message for comp name (#4429)
This commit adds a more informative warning message for invalid
component names. Also fixes a typo.
Closes #4428.
2016-12-09 12:51:13 -05:00
Evan You
29d6e33b33 simplify value change check for v-model modifiers 2016-12-09 12:20:12 -05:00
Evan You
612d32105a fix transition v-show display toggle timing for enter hooks (fix #4418) 2016-12-08 16:54:09 -05:00
Evan You
0163a6fe53 proper fix for #4392 (via #4402) 2016-12-08 16:02:26 -05:00
Evan You
8567e7dced extract identity function into util 2016-12-08 14:58:26 -05:00
Hanks
cdd36875d6 be able to parse the real tag name for the specific platform (#4417) 2016-12-08 14:56:14 -05:00
Evan You
b141c6930d fix filter parsing for divisions (fix #4415) 2016-12-08 13:15:33 -05:00
Evan You
58949bd1c5 use sameVnode check when pacthing keyed children (fix #4393) 2016-12-08 12:26:22 -05:00
Evan You
b48c45eb7e ensure set value last in IE9 (fix #4391) 2016-12-08 12:12:11 -05:00
Evan You
4c3abdda92 avoid showing chrome devtools message in Edge 2016-12-08 11:57:48 -05:00
Evan You
8a7b02a159 avoid v-model with .trim/.number updating value when in focus (fix #4392) 2016-12-08 10:56:30 -05:00
Eduardo San Martin Morote
b9376eb5ff Refactor version replacement (#4400)
Use the rollup replace plugin to replace weexVersion and (Vue) version
inside the files
2016-12-08 10:01:38 -05:00
Evan You
4da64ee2ae use babel-plugin-istanbul instead 2016-12-07 17:40:27 -05:00
Evan You
929c16f3dd slightly improve ssr hydration performance 2016-12-07 17:34:23 -05:00
Evan You
9cfd63a7d0 fix weex tests 2016-12-07 16:48:29 -05:00
Evan You
28ec3c7709 minor tweaks 2016-12-07 16:44:10 -05:00
Evan You
d2f7f1913e fix codegen tests 2016-12-05 02:36:40 +01:00
Evan You
4b51ad0483 rename _h -> _c so that vue-template-es2015-compiler can use the new internal createElement without breaking backwards compatibility 2016-12-05 02:36:40 +01:00
Evan You
207c18c47f further reduce normalizeChildren usage 2016-12-05 02:36:40 +01:00
Evan You
7c3c86f360 fix namespace hoisting 2016-12-05 02:36:40 +01:00
Evan You
79e1058799 wip: refactor compiler to skip normalization when possible
wip fix

wip fix

wip fix
2016-12-05 02:36:40 +01:00
Evan You
1def2d11a5 fix test for emptyVNode rename 2016-12-05 02:36:40 +01:00
Evan You
7431e4d16c emptyVNode -> createEmptyVNode 2016-12-05 02:36:40 +01:00
Evan You
e4a49b7432 shorter ssr bench output 2016-12-05 02:36:40 +01:00
Evan You
ea7c353902 refactor normalizeChildren 2016-12-05 02:36:40 +01:00
Evan You
4f82c6abde improve updateDirectives performance 2016-12-05 02:36:40 +01:00
Evan You
25f8c50d95 improve DOM listener update performance 2016-12-05 02:36:40 +01:00
Chris Fritz
4120d1adc2 reference doc in component data function warning (#4378) 2016-12-04 08:40:06 +01:00
Evan You
1cf377f190 bind value as property for <select> (fix #4369) 2016-12-02 08:54:40 -05:00
Evan You
a8f41399ef [release] 2.1.4 2016-12-01 22:01:19 -05:00
Evan You
0ea6e364c9 [build] 2.1.4 2016-12-01 22:01:18 -05:00
Evan You
20bfa98ec4 adjust release script 2016-12-01 19:45:17 -05:00
Evan You
c4da6c7f9c fix select multiple warning test case in IE 2016-12-01 18:32:46 -05:00
Evan You
abb966b0b6 fix stateful higher order transition components 2016-12-01 17:47:29 -05:00
Evan You
4fcb253301 fix keyCodes proxy set return value 2016-12-01 17:46:31 -05:00
Evan You
e8d6bd9dc7 allow modifier key modifiers on keyboard events and warn overwriting in config.keyCodes 2016-12-01 14:31:55 -05:00
Evan You
80bf5d6636 rearrange util functions so ones unused in runtime build can be dropped by uglify 2016-12-01 09:58:34 -05:00
Evan You
61f7d0db87 actually complete test case for #4339 2016-11-30 23:32:43 -05:00
Evan You
db0bf76e51 fix keep-alive component inner transition (fix #4339) 2016-11-30 23:29:03 -05:00
Evan You
de7764a385 refactor patch createElm function, fix component hook merging 2016-11-30 14:21:01 -05:00
chengchao
dde0454e7e fix static style parse error. (#4349) 2016-11-30 13:53:20 -05:00
Evan You
66bacb015c make .once modifier work for component v-on as well 2016-11-30 12:31:56 -05:00
chengchao
6ea9a4db42 Support mutliple keys for keycode (#4328)
* support mutliple keys for keycode

* update flow type

* add test case

* update comment

* update flow type

* update comment
2016-11-30 12:16:10 -05:00
Changyu Geng
9215ff0295 Modifier once for v-on (#4267)
* Modifier once for v-on

* Reformat code

* Modifier once for v-on: using removeEventListener instead, bug fix of handler arguments passing, bug fix of modifier ordering problem

* Enhancement of event listener removal which allows rendering of capturing / once events for render function

* Reformat code
2016-11-30 12:15:18 -05:00
勾三股四
b7fd05380d weex: set append="tree" by default for <cell> component (#4326) 2016-11-29 15:07:51 -05:00
kazuya kawaguchi
030b80e6cd improve examples title (#4337)
NOTE:
  consistently keep the examples of vuejs.org.
  https://vuejs.org/v2/examples/
2016-11-29 06:49:33 -05:00
Evan You
90301adbb5 add quiet flag to pre-commit eslint 2016-11-26 16:06:54 -05:00