Commit Graph

61 Commits

Author SHA1 Message Date
Evan You d30f6fd25f test: fix tests 2023-12-06 15:21:00 +08:00
Evan You 72aed6a149 workflow: remove eslint, apply prettier 2022-05-23 17:21:17 +08:00
Evan You 52627b95ce test: jasmine.createSpy -> vi.fn 2022-05-20 07:56:02 +08:00
David Welch 40dccfedd1 chore: fix test harness; most of the tooling + test harness is happy; coverage still needs fixing 2022-05-03 11:04:55 -06:00
David Welch be4b617942 chore: cleanup on tests; babel preset for typescript help 2022-05-01 14:37:05 -06:00
David Welch 534a0aa863 chore: convert tests to typescript 2022-04-29 15:43:25 -06:00
Si Nguyen 86f8b52822
chore: fix typo (#12360) [skip ci] 2021-11-17 10:16:58 +01:00
Evan You edf7df0c83 fix(core): dedupe lifecycle hooks during options merge
The fix landed in #9199 causes further extended constructors used as
mixins to drop options from its inheritance chain, so a different fix
is needed.
2019-01-11 17:51:45 -05:00
Evan You c50bbde41c feat: add Vue.observable() for explicitly creating observable objects 2019-01-10 16:03:03 -05:00
狼族小狈 c711ec189a fix(types): support chain call for Vue.use and Vue.mixin (#8595) 2018-11-30 23:27:24 -05:00
Kael 80f17fa498 fix(core): skip mixins and extends if child is already merged (#8870)
fix #8865
2018-11-30 17:54:16 -05:00
Edd Yerburgh c94482743c feat: add async option (#8240)
This is an option intended only for testing purposes, and should not be used in
application code.
2018-08-16 16:26:02 -04:00
Evan You 83ed92608d fix: $set should respect properties on prototype chain
fix #6845
2017-10-26 13:53:46 +02:00
Evan You 9f576aac7d test: add test for ignoredElements 2017-10-12 09:54:17 -04:00
Josh Soref f477ecdbbb chore: spelling (#6535) 2017-09-07 07:33:09 -04:00
AchillesJ eea0920f14 fix: improve Vue.set/Vue.delete API to support multi type of array index (#5973)
related #5884
2017-07-01 11:22:25 +08:00
wenlu.wang 049f3171a9 fix: support plugin with multi version vue (#5985)
close #5970
2017-06-30 11:20:43 +08:00
lyhper 00a3085628 test: correcting existing test case (#5909)
Fix the location of the test case
2017-06-29 12:39:02 +08:00
王斐 8a2c5147ad Be able to use string type index in array (#5889) 2017-06-16 09:37:31 +08:00
Evan You b4dd0be4fc improve .use() test cases and make it track installation based on constructor id 2017-06-05 16:30:10 +08:00
Yusuke Otsuka 12b7122c16 fix mixin issue (#5514) 2017-04-26 14:51:25 +08:00
katashin 086ae4469b allow an extended constructor as global mixin (#5448) 2017-04-16 15:38:13 +08:00
YOU 61930e0cc6 chore(test): fix some typos (#5101) 2017-03-06 09:50:49 +01:00
Evan You 72a8c13122 reduce the amount of methods exposed on Vue.util 2017-02-25 18:09:48 -05:00
Evan You 7fa8fa76fe avoid duplicate lifecycle hooks during constructor resolution 2017-02-23 21:56:01 -05:00
Evan You 4cf49828c0 properly handle cosntructor options modification before global mixin application (fix #4976) 2017-02-23 18:11:18 -05:00
Evan You 3c0cdb5535 improve error handling for lifecycle hooks 2017-02-19 23:21:29 -05:00
Evan You cfb4d7c655 improve parser warning for tags with no matching close tag 2017-02-06 19:18:50 -05:00
Evan You 769c4dc203 ensure mutating extended constructor options does not affect parent (fix #4767) 2017-01-22 13:01:00 -05:00
Hanks 466e849c85 Be able to delete array item in `Vue.delete` (#4747)
* Support to delete array item in Vue.delete

* add test case for Vue.delete array

* add blank line between test cases
2017-01-19 10:41:32 -05:00
Evan You 2afa2601e0 ensure local assets is prioritized regardless of naming convention (fix #4434) 2016-12-12 21:30:52 -05:00
Evan You a52a094bef wip: adjust update error reporting 2016-11-24 12:17:41 -05:00
katashin c57ba3e622 global mixin should not drop scope id (fix #4266) (#4274) 2016-11-22 09:22:21 -05:00
Evan You 09f9783943 fix global mixin + export constructor in vue-loader (fix vue-loader#433) 2016-11-02 18:51:09 -04:00
Evan You cb1bb75b58 fix global mixin props (fix #3957) 2016-11-02 15:50:57 -04:00
Evan You ef311931a3 all tests pass for new transition API 2016-07-13 13:33:12 -04:00
Evan You 8c86973198 rename: init -> beforeCreate 2016-06-27 12:29:59 -04:00
Evan You 36e63c234a coverage for new global mixin strategy 2016-06-25 23:18:08 -04:00
Evan You 1d8f3a264e better global mixin strategy 2016-06-25 10:43:19 -04:00
Evan You 76d7809a11 config.errorHandler should capture user wathcer errors too (ref #3142) 2016-06-22 22:43:58 -04:00
Evan You 4fe51a75a9 prohibit replacing Vue.config + support custom keyCodes 2016-06-22 11:35:33 -04:00
Evan You cccfda96da test for config.optionMergeStrategies 2016-06-10 18:20:48 -04:00
Evan You 34bcc02b77 remove preserveWhitespace config option 2016-06-10 18:14:58 -04:00
Evan You bb5c102c35 fix errorHandler tests 2016-06-01 17:14:02 -04:00
Evan You 068f6270d5 test for errorHandler config 2016-06-01 17:10:24 -04:00
Evan You 366188fbde coverage improvements 2016-06-01 11:17:37 -04:00
Evan You 0450aba1f1 improve Vue.extend tests 2016-05-28 21:09:01 -04:00
Evan You 8c8eaea0fb restructure global api tests + ensure global mixins work regardless of constructor creation time 2016-05-24 14:12:10 -04:00
Evan You f8ece6144a improve waitForUpdate() syntax 2016-05-18 13:08:14 -04:00
Evan You 07cf6444c6 return this in $mount, make unit tests more consistent 2016-05-11 15:40:50 -04:00