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.
2018-12-19 19:26:58 -05:00
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
2018-10-24 13:07:40 -04:00
Evan You
76fd45c9fd
build: upgrade eslint and use only non-stylistic rules
2018-10-24 12:08:32 -04:00
Evan You
b7105ae8c9
refactor: improve option type check warnings
2017-10-12 10:57:02 -04:00
Evan You
606666d5a9
test: fix Object.prototype.watch related warnings
2017-07-12 15:50:09 +08:00
Evan You
ab1203a096
update eslint config
2017-06-01 16:41:07 +08:00
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
2017-05-12 10:22:00 +08:00
Evan You
0bb529a275
also warn when listening to camelCase events in in-DOM templates
2017-03-23 17:28:59 +08:00
Evan You
3c0cdb5535
improve error handling for lifecycle hooks
2017-02-19 23:21:29 -05:00
Evan You
aa6f7b4cdb
add production tips info
2016-12-28 00:09:26 -05:00
Evan You
00c137fb27
test: check unexpected warnings
2016-11-24 11:50:20 -05:00
Evan You
5ed0c16b68
better hydration fail warnings
2016-08-04 13:50:16 -04:00
Evan You
7a06a9df3b
prepare keep-alive and transition-mode tests
2016-06-05 15:26:45 -04:00
Evan You
9adbe9c399
also test mounted for child component
2016-06-03 15:19:00 -04:00
Evan You
2e678b87a5
remove classList polyfill in tests
2016-05-31 21:42:33 -04:00
Evan You
74538b4529
basic transition tests
2016-05-31 19:09:57 -04:00
Evan You
a99bed7267
just use lodash itself since it is already a dep
2016-05-27 20:00:12 -04:00
Evan You
c6d749b268
bump dependencies and fix toEqual matcher in Safari
2016-05-27 19:16:14 -04:00
Evan You
0fd43c9653
Merge branch 'test/patch' of git://github.com/kazupon/vue into test/patch
2016-05-26 18:16:40 -04:00
Evan You
056cb7f295
test for v-model text
2016-05-26 13:54:37 -04:00
kazuya kawaguchi
a6ac886f2c
add vdom helper
2016-05-25 15:50:00 +09:00
Evan You
9d3479a76c
rearrange option tests
2016-05-20 11:41:26 -04:00
Evan You
f8ece6144a
improve waitForUpdate() syntax
2016-05-18 13:08:14 -04:00
Evan You
da4124c4ca
unit tests for v-bind:class
2016-05-16 18:18:51 -04:00
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
2016-05-12 01:21:53 -04:00