Evan You
b7f7f27569
feat: use event delegation when possible
This also fixes async edge case #6566 where events propagate too slow
and incorrectly trigger handlers post-patch.
6 years ago
Sam Lichlyter
5489339a30
refactor(core): Replace "var" ( #8299 )
Replaces instances of "var" with "let" and "const" where applicable using the eslint 'no-var' and
'prefer-const' rules
6 years ago
Evan You
76fd45c9fd
build: upgrade eslint and use only non-stylistic rules
6 years ago
Evan You
b7105ae8c9
refactor: improve option type check warnings
7 years ago
Evan You
606666d5a9
test: fix Object.prototype.watch related warnings
7 years ago
Evan You
ab1203a096
update eslint config
8 years ago
Maciej Kasprzyk
d6bd667e1a
Warn when component option should be an object, but is not ( #5605 ) ( #5642 )
* warn when component should be an object, but is not
* remarks
* remarks
* remarks
* rename to checkOptionType and guard production
* typo
* Update state.js
* Update test-object-option.js
8 years ago
Evan You
0bb529a275
also warn when listening to camelCase events in in-DOM templates
8 years ago
Evan You
3c0cdb5535
improve error handling for lifecycle hooks
8 years ago
Evan You
aa6f7b4cdb
add production tips info
8 years ago
Evan You
00c137fb27
test: check unexpected warnings
8 years ago
Evan You
5ed0c16b68
better hydration fail warnings
8 years ago
Evan You
7a06a9df3b
prepare keep-alive and transition-mode tests
9 years ago
Evan You
9adbe9c399
also test mounted for child component
9 years ago
Evan You
2e678b87a5
remove classList polyfill in tests
9 years ago
Evan You
74538b4529
basic transition tests
9 years ago
Evan You
a99bed7267
just use lodash itself since it is already a dep
9 years ago
Evan You
c6d749b268
bump dependencies and fix toEqual matcher in Safari
9 years ago
Evan You
056cb7f295
test for v-model text
9 years ago
kazuya kawaguchi
a6ac886f2c
add vdom helper
9 years ago
Evan You
9d3479a76c
rearrange option tests
9 years ago
Evan You
f8ece6144a
improve waitForUpdate() syntax
9 years ago
Evan You
da4124c4ca
unit tests for v-bind:class
9 years ago
Blake Newman
35440d9856
SSR warn for no VUE_ENV and add tests ( #2844 )
- Added test coverage for data observation and VUE environment variable
- Moved Test helpers into own folder for reusability
9 years ago