Evan You
a6e1ae0aac
v-bind object should have lower priority than explicit bindings ( fix #5150 )
8 years ago
kingwl
4964b253d0
fix wrong order of generate modifier code ( #5147 )
* fix wrong order of generate modifier code
* add unit test of #5146
* Update events.js
8 years ago
AchillesJ
f9706dc288
fix v-on unit test ( #5144 )
8 years ago
Evan You
95cd2bd7fa
test v-model select with circular reference
8 years ago
Evan You
c619b8d22c
remove inline value warnings for checkbox/radio/select also ( close #5112 )
8 years ago
kingwl
2e1e809467
fix prevent default unit test ( #5127 )
8 years ago
Evan You
303824ea9c
default slot should use fallback content when it contains all whitespace nodes ( fix #5097 )
8 years ago
YOU
7010d0ffc5
chore(model-select.spec): add a check for value binding and fix some typo ( #5092 )
* chore: add a check for value binding
* chore: fix some typo
8 years ago
YOU
61930e0cc6
chore(test): fix some typos ( #5101 )
8 years ago
YOU
eb58694f6f
chore(filter.spec): fix variable-- test case ( #5094 )
8 years ago
YOU
c683caff3a
chore(model-text.spec): add a missing check ( #5093 )
8 years ago
YOU
23a20ce09d
chore: \s match all whitespaces ( #5091 )
8 years ago
YOU
62e4f2b3d1
chore: fix some closetag mismatches ( #5088 )
8 years ago
YOU
40bc5923ae
chore: preserveWhitespace is true by default ( #5082 )
8 years ago
laoxiong
6a5b8043f2
imporve:check the delete oparator in event expression ( #5072 )
* improve:check the unary operators
* add:test
8 years ago
Bojan
1b38a261c5
support multi event ( #5056 )
8 years ago
Evan You
16765db9a4
separate provide/inject resolve timing to allow data/props to rely on injections
8 years ago
Evan You
3294eba5a5
fix v-on .left .right compat with keyboard events ( fix #5046 )
8 years ago
Rahul Kadyan
2a8a777b11
Check property exists instead of truthy value ( #5044 )
* Check property exists instead of truthy value
* Provide some falsy values for inject tests
8 years ago
Evan You
10e724fa78
support string values for transition duration
8 years ago
Evan You
72a8c13122
reduce the amount of methods exposed on Vue.util
8 years ago
Evan You
6c3e6dcdce
support ES2015 Symbol in provide/inject
8 years ago
Evan You
e7a2510e63
Revert "[WIP] Support for ref callback ( #4807 )"
This reverts commit acec8db2c4
.
8 years ago
Evan You
f66028b9cd
introduce tip + make v-for component key warning a tip + refactor web compiler entry
8 years ago
Evan You
680494690f
give long transition test specific timeout value
8 years ago
Evan You
7fa8fa76fe
avoid duplicate lifecycle hooks during constructor resolution
8 years ago
Evan You
4cf49828c0
properly handle cosntructor options modification before global mixin application ( fix #4976 )
8 years ago
Evan You
8d25e8f574
make explicit transition duration tests more stable
8 years ago
Evan You
42492ffaf9
adjust explicit transition duration tests
8 years ago
Evan You
29f6902d19
coverage
8 years ago
Evan You
f916bcf371
feat: provide/inject ( close #4029 )
8 years ago
Evan You
1861ee9570
feat: renderError
8 years ago
Evan You
3c0cdb5535
improve error handling for lifecycle hooks
8 years ago
Chris Casola
3dc9338479
Warn when defining a method with same name as a prop ( #4950 )
* Warn when defining a method with same name as a prop
* update error message
8 years ago
Evan You
9ccffe72db
invoke activate/deactivate recursively + refactor ( close #4242 )
8 years ago
kingwl
0e2dafa74c
support mouse event modifier ( #4866 )
8 years ago
kingwl
8bb6c2bdaa
support $on multi event ( #4860 )
8 years ago
Guillaume Chau
0598ab0c64
#4371 - Explicit transition durations ( #4857 )
* Add transition explicit duration
* Fix tests for explicit transition duration
* Tweaks & default to milliseconds
* Better tests
* Better test for change value case
* Fix transition duration tests
* Better flow typing
* Fix transition test
* Revert "Fix transition test"
This reverts commit db75b3801ed11182119c78ebae87f40a62803714.
* Fix transition test
Revert "Fix transition test"
This reverts commit db75b3801ed11182119c78ebae87f40a62803714.
Fix transition test
* Better flow types
* Warn message
* Better prop handling
* Better flow typings
* adjustments
8 years ago
Rahul Kadyan
acec8db2c4
[WIP] Support for ref callback ( #4807 )
* ✨ Tests for ref callback
* ✨ Support for ref callback
* Add test of inline ref callback
* adjust ref implementation strategy
* fix patch ref registration
* fix tests
* fix flow
* fix test for phantomjs
8 years ago
Evan You
05c769bf44
fix .once with other modifiers that prevent execution of a handler ( fix #4846 )
8 years ago
Evan You
f59aef08e6
further improve end tag check ( close #4408 )
8 years ago
Herrington Darkholme
01151ce3fa
fix #4872 , use context agnostic Function constructor check ( #4928 )
* fix #4872 , use context agnostic Function constructor check
* use getType to check Function Constructor
* fix negation
8 years ago
Riccardo Causo
7259aefbe8
filter division expression with parentheses ( fix #4838 ) ( #4844 )
* filter division expression with parentheses (fix #4838 )
* verify also dot and square brackets
* missed a link check sorry for the useless commit
* added + - and _ support
8 years ago
Evan You
406352baba
move computed properties definition to component prototype when possible
8 years ago
Evan You
4f6b1014b3
improve $props test case
8 years ago
yantene
22f9560c92
add $props
8 years ago
Evan You
cfb4d7c655
improve parser warning for tags with no matching close tag
8 years ago
Eduardo San Martin Morote
ec7fca8495
Fix multiple attr in select with undefined value ( #4859 )
Fix #4855
8 years ago
p(^-^q)
8bf5af8edf
fix `addClass` utlil bug ( #4863 )
* fix addClass util bug
`<transition-group move-class=“ value with leading or trailing whitespace ” />`
* fix addClass util bug
`<transition-group move-class=“ value with leading or trailing whitespace ” />`
* fix addClass util bug
`<transition-group move-class=“ value with leading or trailing whitespace ” />`
* update test case for `addClass / removeClass` util
8 years ago
Evan You
5ae63d9d2f
warn v-for component lists without explicit keys
8 years ago