kingwl
2701fa1a64
add provide/inject on functional context ( #5204 )
8 years ago
kingwl
beee7d8143
support v-on passive modifier ( #5132 )
* support v-on passive modifier
* fix supportsPassive and run unit when the test browser supports
* add mutual exclusive warning
* Fix typo
* Fix typo
* Remove extra line - CS fix
8 years ago
Evan You
354c2f4922
fix keep-alive cache incorrectly pruned with transition mode="out-in" ( fix #5346 )
8 years ago
Evan You
bbec0763ab
remove problematic test cases (mutating in render fn)
8 years ago
Evan You
35aa5f0b2b
warn click.right ( close #5330 )
8 years ago
Evan You
a12d32a56d
fix style diffing on cached/slot elements ( fix #5318 )
8 years ago
AchillesJ
3c0265517b
handle errors thrown by directive hooks ( #5314 ) ( #5324 )
* handle errors thrown by directive hooks
* fix import
8 years ago
Razvan Stoenescu
255b627f39
fix #5321 don't throw error when node gets relocated ( #5322 )
* don't throw error when node gets relocated
* perf: Simplify if check in vdom/patch
8 years ago
Evan You
80fa9bf3d6
fix hydration tests
8 years ago
Evan You
69e62f0a74
refactor: remove constants from config
8 years ago
Evan You
e0a7c1ac68
use data attribute for ssr marker
8 years ago
Kenneth Crawford
6fcfdbd83f
warn and handle missing get in computed ( fix #5265 ) ( #5267 )
8 years ago
Evan You
0bb529a275
also warn when listening to camelCase events in in-DOM templates
8 years ago
Piotr Kaminski
e47b1e5c4d
Allow named properties on reactive arrays. ( #5216 )
* Allow named properties on reactive arrays.
* Remove semicolons to comport with style guide.
* Pacify flow type checking.
Without the cast to any, flow complains that Array doesn't have an
__ob__ property. This appears to be an instance of this issue:
https://github.com/facebook/flow/issues/1330
8 years ago
Raymond Rutjes
23a058ed13
fix(inject): change warn message when trying to mutate an injected value ( #5243 )
8 years ago
kingwl
7dea9f1eb2
fix provide isn't reactive with a single array ( #5229 )
* fix provide isn't reactive with a single array - Fix #5223
* add warning when injections has been modified
8 years ago
kingwl
4c4a2ab65f
trigger event after reassigned state - Fix #5191 ( #5233 )
8 years ago
Evan You
59a372229b
also catch error in data() ( close #5198 )
8 years ago
Evan You
041683953a
improve camelCase prop warning message
8 years ago
AchillesJ
c6ab2e06d4
warn when template contains text outside root element ( #5164 )
* warn when template contains text outside root element
* fix warned flag
* make warn once a function
8 years ago
CodinCat
025e763124
Warn when not passing props in kebab-case ( #5161 )
* Warn when not passing props in kebab-case
* Move keyInLowerCase to dev only block
8 years ago
Evan You
a6e1ae0aac
v-bind object should have lower priority than explicit bindings ( fix #5150 )
8 years ago
Evan You
e7dfcc334d
fix custom directive arg fall through ( fix #5162 )
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
Herrington Darkholme
8fca83d6b6
fix #5121 : parse content in textarea as plaintext ( #5143 )
* fix #5121 : parse content in textarea as plaintext
* update comment
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
Evan You
a524919d21
fix v-on inline function expression with modifiers ( fix #5120 )
8 years ago
YOU
e12d96a132
chore(parser.spec): fix an IE conditional test with a typo ( #5102 )
* chore(parser.spec): fix an IE conditional test with a typo
* check children.length is 0, instead of undefined
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
Nathan Shively-Sanders
2dc177ffb3
SFC parseComponent pads complete content with spaces ( #5059 )
* SFC parseComponent pads content with spaces
when `{ pad: true }` is provided. That is, all content is converted to
spaces. Previously, each line was truncated to "//". The new padding
method works better with character-oriented tools that calculate
positions by distance from the beginning of the file instead of by line
number.
* Made parseComponent's pad support "line" | "space"
Also still supports true for backward compatibility. True is the same as
"line".
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
kazuya kawaguchi
0922b1d8aa
improve set/delete API ( #5050 )
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