Commit Graph

583 Commits

Author SHA1 Message Date
Evan You
39e42f503c add vm annotation in init 2016-05-17 10:37:20 -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
Evan You
fd6944a597 small tweak for coverage 2016-05-16 21:03:02 -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
94d186b095 update ssr benchmark 2016-05-16 18:26:25 -04:00
Evan You
da4124c4ca unit tests for v-bind:class 2016-05-16 18:18:51 -04:00
Blake Newman
4618914ceb Added benchmark for SSR (#2842)
- Includes `renderToStream` and `renderToString`
- Added SSR benchmark README.md
- Added npm `bench:ssr` script
- Renders table with 1000 rows with 10 columns (10 thousand components)
2016-05-16 16:29:08 -04:00
Evan You
b67143a5b8 fix optimizer isStatic check 2016-05-16 15:50:45 -04:00
Evan You
3573ffff1f refine ast nodes with disjoint union type 2016-05-16 15:28:10 -04:00
Evan You
c908352d7c fix node-ops type declaration 2016-05-16 12:58:49 -04:00
kazuya kawaguchi
6daba53750 add optimizer tests (#2882)
ref: #2872
2016-05-16 12:56:53 -04:00
Evan You
eaddbe5739 update track-by usage in test 2016-05-16 01:03:47 -04:00
Evan You
6209de62cb use babel coverage plugin instead of isparta loader 2016-05-16 01:03:32 -04:00
kazuya kawaguchi
b8ffc659e9 add parser tests (#2878)
ref #2872
2016-05-15 16:50:44 -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
Evan You
2dc5b17828 simplify children render mechanism 2016-05-14 15:52:48 -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
kazuya kawaguchi
b65511e111 add scheduler tests (#2869) 2016-05-14 06:21:46 -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
ff16f7491f no need to import VNode type when its imported in declarations 2016-05-14 03:14:21 -04:00
Evan You
45d96c7dbc annotation for vdom (wip) 2016-05-14 03:08:21 -04:00
Evan You
d3878c2292 add coverage badge 2016-05-13 21:23:59 -04:00
Evan You
68dac4c10a fix ci script syntax error 2016-05-13 21:16:44 -04:00
Evan You
8c6db60b58 setup coverage 2016-05-13 21:12:56 -04:00
Evan You
991db6ed73 update dep range 2016-05-13 21:04:10 -04:00
Evan You
9a8e5d65e9 use explicit ci steps 2016-05-13 20:54:53 -04:00
kazuya kawaguchi
82da272bdf add watcher tests (#2868) 2016-05-13 20:53:09 -04:00
Evan You
209b4212ac use ci script 2016-05-13 19:32:12 -04:00
Evan You
f90b696060 also run flow on ci 2016-05-13 19:30:58 -04:00
Evan You
bbc3031afa add flow script 2016-05-13 19:22:20 -04:00
Evan You
ff738e394a add eslintignore 2016-05-13 19:09:12 -04:00
Evan You
1b7ab89a5d rework type annotation strategy: use interface instead 2016-05-13 18:30:04 -04:00
Evan You
6dc2662b40 remove branch restrictions so PRs can run 2016-05-13 15:05:04 -04:00
Evan You
0bd9a31858 annotate core util 2016-05-12 21:22:23 -04:00
Evan You
a953bdeeb6 annotate observer 2016-05-12 20:36:16 -04:00
Evan You
1a65dc880f annotate global api 2016-05-12 19:53:16 -04:00
Evan You
354ea616b5 annotate Vue class 2016-05-12 19:13:38 -04:00
Evan You
182a45e0fa annotate shared/util 2016-05-12 16:49:43 -04:00
Evan You
fe48c6cf07 annotation tweaks 2016-05-12 16:49:36 -04:00
Evan You
6a94e2ca7f annotate config.js 2016-05-12 14:13:38 -04:00
Evan You
6d712753d8 annotate ssr code 2016-05-12 14:06:13 -04:00
Evan You
623bcc632c update build setup to make babel work properly with flow 2016-05-12 13:47:11 -04:00