Evan You
99a96d3c37
should invoke destroy hook for replaced root nodes too
9 years ago
Evan You
5aeb7f5eef
lifecycle hook tests
9 years ago
Evan You
20758d554f
instance methods tests
9 years ago
kazuya kawaguchi
05235942a7
add options template tests ( #2968 )
* add options template tests
ref: #2872
* fix runtime error and warning optimaize
* update invalid template
9 years ago
Evan You
efd589e92f
return emptyVNode if render function is not provided
9 years ago
Evan You
3a0557a317
component slot tests
9 years ago
Evan You
2a64b8a356
tests for v-model select
9 years ago
Evan You
22d7acba03
always set props even if value is the same
9 years ago
Evan You
c2ef6d8df9
v-model checkbox tests
9 years ago
Evan You
1914dfe4dd
v-model radio tests
9 years ago
Evan You
b370eacfce
fix unit tests in IE9
9 years ago
Evan You
056cb7f295
test for v-model text
9 years ago
Evan You
20f6e6e3fe
adjust binding attr retrieval priority
9 years ago
Evan You
69abe1b726
make sure to expose real instance instead of proxy as vnode.context
9 years ago
Evan You
2114cca184
support using extended contructors as mixins
9 years ago
kazuya kawaguchi
6b4a617e6d
Fix render codegen bug ( #2954 )
9 years ago
kazuya kawaguchi
02cdbd2dbb
add patch tests
ref: #2872
9 years ago
Evan You
cb915d0120
fix linting issues
9 years ago
Evan You
8d229b2442
support v-bind on objects
9 years ago
Evan You
54e648e49f
include patch process in watcher getter to ensure correct dep collection for deep updates
9 years ago
Evan You
49b62889c6
tweaks
9 years ago
Evan You
7f85acb4e5
expose oldValue on directive bindings
9 years ago
Evan You
6195742c2b
fix v-show transition on appear
9 years ago
Evan You
8c8eaea0fb
restructure global api tests + ensure global mixins work regardless of constructor creation time
9 years ago
Evan You
d263bb237a
adjust directive hook signature to expose all information
9 years ago
Evan You
48f22c9b17
fix flow error
9 years ago
Evan You
0a15d9ee27
add root element warnings
9 years ago
Evan You
c972b80cd8
fix delimiters caching ( fix #2940 )
9 years ago
Evan You
acd712d54d
fix ref codegen
9 years ago
Evan You
3245ee6fe4
fix root mount with emptyNode
9 years ago
Evan You
837853d95a
better inferring of component names in warnings
9 years ago
Evan You
78331451fa
improve watcher evaluation error warning
9 years ago
Evan You
6fe268874c
improve codegen for smaller generated code size
9 years ago
Evan You
0b1460d4d5
add csp warning
9 years ago
Evan You
ae7becf741
remove test.js
9 years ago
Evan You
39e42f503c
add vm annotation in init
9 years ago
Jinjiang
2e8dfe5d9a
revert _init method for Vuex ( #2886 )
9 years ago
Evan You
36a32e4466
tweaks based on #2885
9 years ago
Evan You
fd6944a597
small tweak for coverage
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
da4124c4ca
unit tests for v-bind:class
9 years ago
Evan You
b67143a5b8
fix optimizer isStatic check
9 years ago
Evan You
3573ffff1f
refine ast nodes with disjoint union type
9 years ago
Evan You
c908352d7c
fix node-ops type declaration
9 years ago
Evan You
df259d00f4
tweak annotations
9 years ago
Evan You
71a0f3e1ef
optimize internal component instantiation
9 years ago
Evan You
2dc5b17828
simplify children render mechanism
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