Commit Graph

1416 Commits

Author SHA1 Message Date
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
Evan You 94b8f0f6ad [release] weex-vue-framework@2.1.3-weex.1 2016-11-26 16:05:54 -05:00
Evan You 9dce7adfa2 Streaming render for weex
fix append mode for keep-alive reactivation

streaming render for weex

fix weex test case

inject __WEEX__ during tests

fix append:tree for iOS

ignore weex branch
2016-11-26 16:04:47 -05:00
Evan You 68e560af24 remove flow in pre-commit hook 2016-11-25 16:09:54 -05:00
Evan You ea61d9878f add pre-commit hook 2016-11-25 13:16:11 -05:00
Evan You e0ab042295 add focused test eslint rules for tests 2016-11-25 13:04:44 -05:00
Evan You c7147e3b60 remove debugger 2016-11-25 12:42:29 -05:00
Evan You 326aef4a6a fix incorrect context for slot content created in functional components (fix #4315) 2016-11-25 12:41:42 -05:00
katashin fba78d4598 Update types for new features of v2.1 (#4305)
* add types for scoped slots

* update nextTick types for returning promise

* improve scoped slot type
2016-11-25 12:08:42 -05:00
chengchao db3e1c7709 reuse no function from utils (#4322) 2016-11-25 12:08:29 -05:00
Evan You 1903df4991 rename ASTElement node.conditions -> node.ifConditions, avoid mutating it during codegen (close #4317) 2016-11-25 10:06:21 -05:00
Evan You 16e3dae245 fix eslint and coverage 2016-11-24 12:59:19 -05:00
Evan You ae4db82c4b fix unexpected warnings in tests 2016-11-24 12:53:13 -05:00
Evan You 7b389bc34e avoid warning unknown custom elements in v-pre 2016-11-24 12:47:27 -05:00
Evan You a52a094bef wip: adjust update error reporting 2016-11-24 12:17:41 -05:00
Evan You b7946a4b22 wip: fix tests with expected warnings 2016-11-24 12:00:51 -05:00
Evan You 00c137fb27 test: check unexpected warnings 2016-11-24 11:50:20 -05:00
Evan You 3cfd84346f fix style !important spec 2016-11-24 11:21:25 -05:00
Evan You e89830230c fix browser env detection for jsdom in Node 7 2016-11-24 11:03:27 -05:00
Evan You 26b6374c3c test for static style !important support 2016-11-24 10:15:05 -05:00
Evan You ac060163c3 handle !important in static styles (fix #4306) 2016-11-24 10:12:02 -05:00