Evan You
e3fb6fe834
remove <render> tag
9 years ago
Evan You
d76bf8cac8
improve template error detector
9 years ago
Evan You
081d66adb2
keep preserveWhitespace as internal compiler option
9 years ago
Evan You
b0ad94fc87
properly encode HTML in server-side rendering ( fix #3078 )
9 years ago
Evan You
cec833a9e8
implement new v-for iterator syntax (ref: #3073 )
9 years ago
Evan You
34bcc02b77
remove preserveWhitespace config option
9 years ago
Evan You
a5cd31ab6d
coverage for sfc-parser
9 years ago
Evan You
f0a9e3d0f0
test padding and source map for sfc-parser
9 years ago
Evan You
b0b9691efe
add pad/map option to sfc parser
9 years ago
Evan You
e236f80fa0
parser for single-file components
9 years ago
Evan You
b6fb485243
rename compiler module export names
9 years ago
Evan You
b02b1e5ba4
better template compilation error warnings
9 years ago
Evan You
cb67ffe442
ensure abstract HOCs do not alter parent chain
9 years ago
Evan You
a5a9dc9b69
support keep-alive
9 years ago
Evan You
7a3261115f
transition-mode
9 years ago
Evan You
4bcdce895c
record original tag name on vnode for components using is attribute
9 years ago
Evan You
060fab9ec1
make ref a runtime module
9 years ago
Evan You
d40ab0ca87
fix component client-side hydration
9 years ago
Evan You
f8cfc81826
remove unnecessary v-pre related code
9 years ago
Evan You
3e596bb97b
handle event removal
9 years ago
Evan You
ff9c6b09bb
fix svg parsing in IE
9 years ago
Evan You
2a64b8a356
tests for v-model select
9 years ago
Evan You
69abe1b726
make sure to expose real instance instead of proxy as vnode.context
9 years ago
Evan You
8d229b2442
support v-bind on objects
9 years ago
Evan You
7f85acb4e5
expose oldValue on directive bindings
9 years ago
Evan You
837853d95a
better inferring of component names in warnings
9 years ago
Evan You
6fe268874c
improve codegen for smaller generated code size
9 years ago
Jinjiang
2e8dfe5d9a
revert _init method for Vuex ( #2886 )
9 years ago
Evan You
36a32e4466
tweaks based on #2885
9 years ago
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
9 years ago
Evan You
3573ffff1f
refine ast nodes with disjoint union type
9 years ago
Evan You
df259d00f4
tweak annotations
9 years ago
Evan You
71a0f3e1ef
optimize internal component instantiation
9 years ago
Evan You
0dc5d96e3c
fix declarations
9 years ago
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
9 years ago
Evan You
750bec1024
annotate platforms/web
9 years ago
Evan You
a74f53b0b8
annotate compiler
9 years ago
Evan You
b17ea5cc36
annotate codegen
9 years ago
Evan You
68e8c39db9
annotate parser
9 years ago
Evan You
7b3ba65f4e
declare component options shape
9 years ago
Evan You
59fcd4e7a7
finish annotating vdom
9 years ago
Evan You
45d96c7dbc
annotation for vdom (wip)
9 years ago
Evan You
1b7ab89a5d
rework type annotation strategy: use interface instead
9 years ago
Evan You
354ea616b5
annotate Vue class
9 years ago
Evan You
6d712753d8
annotate ssr code
9 years ago