Commit Graph

24 Commits

Author SHA1 Message Date
Evan You
2a64b8a356 tests for v-model select 2016-05-26 23:51:34 -04:00
Evan You
69abe1b726 make sure to expose real instance instead of proxy as vnode.context 2016-05-26 12:57:45 -04:00
Evan You
8d229b2442 support v-bind on objects 2016-05-24 20:41:06 -04:00
Evan You
7f85acb4e5 expose oldValue on directive bindings 2016-05-24 18:28:17 -04:00
Evan You
837853d95a better inferring of component names in warnings 2016-05-19 13:58:11 -04:00
Evan You
6fe268874c improve codegen for smaller generated code size 2016-05-18 20:57:51 -04:00
Jinjiang
2e8dfe5d9a revert _init method for Vuex (#2886) 2016-05-17 09:58:24 -04:00
Evan You
36a32e4466 tweaks based on #2885 2016-05-16 21:29:50 -04:00
Jinjiang
1d45c4b9e9 extract style/class/transition as web platform compiler modules (#2885)
* extract style/class/transition as web platform compiler modules

* fixed genData bug

* made module.staticKeys optional in compiler

* changed module.genData just return additional data in compiler

* cached genStaticKeys in compiler optimizer
2016-05-16 21:02:13 -04:00
Evan You
3573ffff1f refine ast nodes with disjoint union type 2016-05-16 15:28:10 -04:00
Evan You
df259d00f4 tweak annotations 2016-05-14 19:20:12 -04:00
Evan You
71a0f3e1ef optimize internal component instantiation 2016-05-14 18:45:54 -04:00
Evan You
0dc5d96e3c fix declarations 2016-05-14 15:54:49 -04:00
Jinjiang
20fb79a1ea new render mechanism (#2857)
* updated compiler with new render functions

* separated createElement into renderSelf & renderElement
supported getters for text node & static root

* adapted new element creator into render call

* improved \$createElement

* fixed by flow check

* fixed ssr bugs for $createElement
2016-05-14 15:49:18 -04:00
Evan You
750bec1024 annotate platforms/web 2016-05-14 07:40:56 -04:00
Evan You
a74f53b0b8 annotate compiler 2016-05-14 06:20:54 -04:00
Evan You
b17ea5cc36 annotate codegen 2016-05-14 05:54:52 -04:00
Evan You
68e8c39db9 annotate parser 2016-05-14 05:08:54 -04:00
Evan You
7b3ba65f4e declare component options shape 2016-05-14 04:10:48 -04:00
Evan You
59fcd4e7a7 finish annotating vdom 2016-05-14 03:38:41 -04:00
Evan You
45d96c7dbc annotation for vdom (wip) 2016-05-14 03:08:21 -04:00
Evan You
1b7ab89a5d rework type annotation strategy: use interface instead 2016-05-13 18:30:04 -04:00
Evan You
354ea616b5 annotate Vue class 2016-05-12 19:13:38 -04:00
Evan You
6d712753d8 annotate ssr code 2016-05-12 14:06:13 -04:00