Commit Graph

54 Commits

Author SHA1 Message Date
Evan You
3661b4e78e add _inactive property 2016-06-28 04:00:32 -04:00
Evan You
cf8aeddc12 fix v-once with v-for and remove unused _t method (fix #3155) 2016-06-27 11:18:06 -04:00
Evan You
c902e1f9ab ssr component-level caching + context injection 2016-06-25 22:59:03 -04:00
Evan You
1d8f3a264e better global mixin strategy 2016-06-25 10:43:19 -04:00
Evan You
3fe127b05a fix v-model number conversion (fix #3140) 2016-06-22 21:43:52 -04:00
Evan You
f0b8f2e290 attach __vue__ to elements to support devtools 2016-06-22 14:18:56 -04:00
Evan You
563672e5fe fix flow def 2016-06-22 11:41:30 -04:00
Evan You
4fe51a75a9 prohibit replacing Vue.config + support custom keyCodes 2016-06-22 11:35:33 -04:00
Evan You
2af9f68bd9 remove source-map generation from sfc parser 2016-06-21 02:17:11 -04:00
Evan You
e3fb6fe834 remove <render> tag 2016-06-17 13:25:34 -04:00
Evan You
d76bf8cac8 improve template error detector 2016-06-15 11:31:43 -04:00
Evan You
081d66adb2 keep preserveWhitespace as internal compiler option 2016-06-15 10:30:32 -04:00
Evan You
b0ad94fc87 properly encode HTML in server-side rendering (fix #3078) 2016-06-14 14:15:41 -04:00
Evan You
cec833a9e8 implement new v-for iterator syntax (ref: #3073) 2016-06-13 14:55:53 -04:00
Evan You
34bcc02b77 remove preserveWhitespace config option 2016-06-10 18:14:58 -04:00
Evan You
a5cd31ab6d coverage for sfc-parser 2016-06-10 16:57:42 -04:00
Evan You
f0a9e3d0f0 test padding and source map for sfc-parser 2016-06-10 16:54:58 -04:00
Evan You
b0b9691efe add pad/map option to sfc parser 2016-06-10 13:19:04 -04:00
Evan You
e236f80fa0 parser for single-file components 2016-06-07 21:36:00 -04:00
Evan You
b6fb485243 rename compiler module export names 2016-06-07 18:33:34 -04:00
Evan You
b02b1e5ba4 better template compilation error warnings 2016-06-06 14:15:21 -04:00
Evan You
cb67ffe442 ensure abstract HOCs do not alter parent chain 2016-06-05 16:14:51 -04:00
Evan You
a5a9dc9b69 support keep-alive 2016-06-04 10:53:05 -04:00
Evan You
7a3261115f transition-mode 2016-06-03 19:32:45 -04:00
Evan You
4bcdce895c record original tag name on vnode for components using is attribute 2016-06-02 18:18:32 -04:00
Evan You
060fab9ec1 make ref a runtime module 2016-06-01 19:52:42 -04:00
Evan You
d40ab0ca87 fix component client-side hydration 2016-06-01 18:20:13 -04:00
Evan You
f8cfc81826 remove unnecessary v-pre related code 2016-06-01 15:03:09 -04:00
Evan You
3e596bb97b handle event removal 2016-06-01 14:49:51 -04:00
Evan You
ff9c6b09bb fix svg parsing in IE 2016-05-31 22:41:56 -04:00
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