Eduardo San Martin Morote
ff7f231002
Support custom blocks in SFC parser ( #4157 )
This allow to use other block appart from `template`, `script` or
`style` in the SFC parser. This allows such things as writing tests or
examples directly into the SFC file. Those are meant to be handled by
programs others than vue-loader like vue-play.
8 years ago
Chris Fritz
8bf26536d3
Add promise support to nextTick ( #3967 )
* add promise support to nextTick
* remove test for non-existent nextTick console error
* Update flow annotation for callback
* Revert flow annotation for nextTick callback
8 years ago
Changyu Geng
048014ac0d
Modifiers key modifier for directive on of Vue.js 2.0 ( #4034 )
* Modifiers key modifier for directive on
* meta modifier key modifier for directive on
* Code format
8 years ago
chengchao
c1b84f87fb
fix markStaticRoots with v-else ( #4256 )
8 years ago
Evan You
c994146372
increase transition test duration buffer on saucelabs
8 years ago
Evan You
b60cd83466
keep-alive re-activated component should get updated props ( fix #4237 )
8 years ago
Evan You
acfe1ad4a2
warn using reserved attrs as prop ( close #4241 )
8 years ago
Evan You
c1bf20acb6
do not trigger change on NaN->NaN set ( fix #4236 )
8 years ago
Evan You
9a742cb423
only treat binding as domProps on specific elements ( fix #4233 )
8 years ago
Evan You
f4df893828
fix weex tests for optimizer adjustments
8 years ago
Evan You
9a659593c4
adjust optimizer strategy and avoid marking simple elements as static root
8 years ago
chengchao
8f7c49c9ba
Remove old static style when applying style update ( fix #4227 ) ( #4235 )
* both static style and stylebinding should be removed
* update test case
* update test case
8 years ago
Dexter Miguel
f80231773e
destroyed elements pass their styles onto others that are similar ( #4232 )
8 years ago
Evan You
eb92723df5
avoid merging text nodes when the node is a cloned slot node ( fix #4209 )
8 years ago
Evan You
24604e70ea
bump dependencies
8 years ago
Evan You
438b51793f
fix style merging assertion in IE
8 years ago
Evan You
3e8ac270a8
fix .trim modifier when v-model is used on custom component ( fix #4204 )
8 years ago
chengchao
77497931e0
fix v-once inside v-for and v-once with v-if ( #4200 )
8 years ago
Evan You
cccc277dd9
fix eslint
8 years ago
Evan You
4e38b54274
fix weex tests for component slot static check change
8 years ago
chengchao
46b3bcd707
fix object dot notation bug ( fix #4185 ) ( #4188 )
* fix object dot notation bug
* add test case
8 years ago
Evan You
9931b715cd
avoid marking slot content as static.
8 years ago
勾三股四
4f84aefe43
support v-model in weex ( #4178 )
* [wip] supported v-model in Weex
* fixed v-model in weex
* added test cases for v-model in weex
* used strToRegExp for all test cases in weex
* fixed eslint
* fixed parseModel test case
8 years ago
Evan You
cb4854a50e
[weex] enable extended constructors to use mixins
8 years ago
Evan You
1bcc571739
Revert "fix #4041 , warn overriding Vue's internal methods ( #4111 )"
This reverts commit 4078ce9c58
.
8 years ago
Evan You
2f63cc8a14
fix eslint
8 years ago
Evan You
cb253d7405
wip: weex framework integration
8 years ago
chengchao
e960cd104e
enable style merge behavior between parent-child components ( fix #3997 ) ( #4138 )
* merge style between components
* update test case
* update style compiler
* add paren to style binding code
* update background property parsing
* introduce interpolation warning and refactor var to const
8 years ago
chengchao
33cf1134ed
Update ssr class render ( fix #4143 ) ( #4146 )
* fix ssr class render
* update test case
8 years ago
Evan You
c67a710b3c
avoid triggering watcher on unchanged default props ( fix #4090 ) (26 seconds ago)
8 years ago
Evan You
5d36e8bc1b
fix IE conditional comments ( fix #4125 )
8 years ago
Evan You
d0afcd3cf9
fix domProps unset for v-html ( fix #4107 )
8 years ago
Evan You
e5f23d9fa0
fix component attrs/domProps merging in SSR
8 years ago
(´・ω・`)
240df147f1
Generate style on custom component in SSR ( fix #4055 ) ( #4076 )
* fix #4055 , generate style on custom component
* add test for custom component style
* add synthetic data for module processing
8 years ago
jingsam
c23c5c5d70
keep consistency in dev and prod env ( #4093 )
* keep consistency in dev and prod env
* Update extend.js
* delete name=null
* fixup
* Update name.spec.js
8 years ago
(´・ω・`)
4078ce9c58
fix #4041 , warn overriding Vue's internal methods ( #4111 )
* fix #4041 , warn overriding Vue's internal methods
* prefer concise warning message
8 years ago
Evan You
bc455352a3
test sfc parser <style module>
8 years ago
Evan You
e2a361a052
forgivingly handle < inside template plain text ( fix #4012 )
8 years ago
Evan You
ec824be88e
fix v-once inside v-for ( fix #3964 )
8 years ago
Evan You
09f9783943
fix global mixin + export constructor in vue-loader (fix vue-loader#433)
8 years ago
Evan You
cb1bb75b58
fix global mixin props ( fix #3957 )
8 years ago
Evan You
4b8eb75c7a
fix coverage
8 years ago
chengchao
0cd1489e68
.number modifier should work with select, radio, checkbox ( fix #4018 ) ( #4022 )
* support number modifier in select, radio, checkbox
* add test case
* add ASTModifier type to specify modifiers type
* fix typo
* keep code consistent
8 years ago
Chris Fritz
84918577d2
fix problematic use of 'deprecated' in warnings ( #4043 )
8 years ago
Herrington Darkholme
2ac581bb7f
SSR: eliminate closure in render.js implementation
eliminate closure
fix multiple render instances and memory leakage
fix eslint
magically fix flow typing
add multiple render stream test
8 years ago
Evan You
7dc38dea27
fix SFC parsing pug templates that contains "<" ( fix #3973 )
8 years ago
defcc
3105661662
v-model binding with array. (fix #3958,#3979) ( #3988 )
* fix v-model with array binding
* add mutli selects test case
* add test case. v-bind with array
* add comments
* code refactor
8 years ago
peisong
9c91190b40
Fix typos. ( #3956 )
8 years ago
Chris Fritz
4f5a47d750
fix root v-else not rendering in prod and switched examples to minified vue for better prod coverage ( #3943 )
* fix root v-else not rendering in production and switched examples to minified vue for better prod coverage
* add dev build comment to examples
* convert tabs to spaces in todomvc example for consistency
8 years ago
Evan You
3f8fa43819
fix duplicate attribute test case in IE
8 years ago