Commit Graph

70 Commits

Author SHA1 Message Date
Evan You 041683953a improve camelCase prop warning message 2017-03-13 15:54:36 +08:00
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
2017-03-13 15:41:26 +08:00
Evan You 303824ea9c default slot should use fallback content when it contains all whitespace nodes (fix #5097) 2017-03-08 12:28:34 +08:00
YOU 61930e0cc6 chore(test): fix some typos (#5101) 2017-03-06 09:50:49 +01:00
YOU 62e4f2b3d1 chore: fix some closetag mismatches (#5088) 2017-03-05 00:10:11 +09:00
YOU 40bc5923ae chore: preserveWhitespace is true by default (#5082) 2017-03-04 03:40:18 +08:00
Evan You 9ccffe72db invoke activate/deactivate recursively + refactor (close #4242) 2017-02-17 18:56:09 -05:00
Evan You 5ae63d9d2f warn v-for component lists without explicit keys 2017-01-24 16:04:14 -05:00
Evan You e7083d09f1 fix scoped slots with dynamic slot names + force update for child components with scoped slots (fix #4779) 2017-01-24 11:04:02 -05:00
Evan You fe6a26bb9c keep-alive: prune cache on include/exclude change, also avoid firing deactivate for already inactive components (fix #4633) 2017-01-13 18:54:35 -05:00
松鹤 610fe31592 add unit test for dynamic with props (#4570)
add unit test for dynamic component with props
2016-12-27 16:09:09 -05:00
Evan You 0cbc96101d add new transition to-state classes 2016-12-27 15:03:48 -05:00
Evan You 02e2d99e27 Revert "ensure leave transitions and enter transitions are triggered in the same frame (fix #4510)"
This reverts commit 92ad0bd378.
2016-12-27 14:11:45 -05:00
Evan You 0bb2d4e2b6 Revert "fix enter transition flicker regression (fix #4576)"
This reverts commit 89987e8e2c.
2016-12-27 14:11:40 -05:00
Evan You 89987e8e2c fix enter transition flicker regression (fix #4576) 2016-12-27 10:16:45 -05:00
Evan You 0eb8cdc7f7 support v-bind object on scoped slots (fix #4529) 2016-12-21 23:27:21 -05:00
Evan You 92ad0bd378 ensure leave transitions and enter transitions are triggered in the same frame (fix #4510) 2016-12-21 22:03:50 -05:00
Evan You 79e1058799 wip: refactor compiler to skip normalization when possible
wip fix

wip fix

wip fix
2016-12-05 02:36:40 +01:00
Evan You 61f7d0db87 actually complete test case for #4339 2016-11-30 23:32:43 -05:00
Evan You db0bf76e51 fix keep-alive component inner transition (fix #4339) 2016-11-30 23:29:03 -05:00
Evan You 326aef4a6a fix incorrect context for slot content created in functional components (fix #4315) 2016-11-25 12:41:42 -05:00
Evan You ae4db82c4b fix unexpected warnings in tests 2016-11-24 12:53:13 -05:00
Evan You a11ba69094 remove fdescribe 2016-11-21 10:27:54 -05:00
Evan You e5d7f32cf6 tests for keep-alive include/exclude 2016-11-21 09:51:06 -05:00
Evan You 03043b9081 support .camel modifier 2016-11-20 12:03:43 -05:00
Evan You 0458e2edb2 adjustment: scoped slots must use <template> 2016-11-20 12:03:43 -05:00
Evan You 303378f85b support default scoped slot + function children as scoped slot 2016-11-20 12:03:43 -05:00
Evan You 745f8a9125 add scoped slots render function usage test 2016-11-20 12:03:43 -05:00
Evan You 7f36f99f6c tests for scoped slots 2016-11-20 12:03:43 -05:00
Evan You c994146372 increase transition test duration buffer on saucelabs 2016-11-19 22:08:06 -05:00
Evan You b60cd83466 keep-alive re-activated component should get updated props (fix #4237) 2016-11-18 20:38:33 -05:00
Evan You eb92723df5 avoid merging text nodes when the node is a cloned slot node (fix #4209) 2016-11-15 23:07:50 -05:00
Evan You 864ef21a7d fix deeply nested keep-alive components not being destroyed (fix #3882) 2016-10-11 23:58:53 -04:00
Evan You cc4c066989 fix coverage 2016-10-10 23:25:24 -04:00
Evan You 3446d1485d support functional components as named slot (fix #3872) 2016-10-10 22:41:14 -04:00
Eduardo San Martin Morote c835ce57ff Allow text nodes on static templates in components (#3826)
Fix #3824
2016-10-05 15:13:14 -04:00
Evan You 99ea0f8229 adjust named slot resolve check (fix #3819) 2016-09-30 14:19:16 -04:00
Evan You b8369e802b fix test template typo 2016-09-30 14:19:16 -04:00
Evan You c791fc7826 fix unit tests in IE9 2016-09-23 18:16:43 -04:00
Evan You 673dec6040 fix duplicate slot warning spelling 2016-09-10 10:41:12 +02:00
Evan You 4afccc8eec proper slot duplication warning (fix #3595) 2016-09-08 11:47:22 +02:00
Evan You f4a505c67c support returning promise for async components (close #3527) 2016-08-28 14:33:38 -04:00
Evan You a152fe0e98 only gen checkbox/radio model on input tags (fix #3516) 2016-08-26 18:28:58 -04:00
Evan You e6c5f21f86 fix event initialization on reused slot nodes (fix #3518) 2016-08-26 18:23:18 -04:00
Evan You 7b4a5a14e3 add warning for incorrect <slot> usage (ref #3447) 2016-08-15 12:35:11 -04:00
Evan You 9d43bff27e fix component in slot lifecycle (fix #3437) 2016-08-12 14:12:57 -05:00
Evan You cdc0bc9cd4 improve keep-alive: use component-based API 2016-08-09 16:32:15 -04:00
Evan You 6e1597cf0b fix quote decoding for templates retrieved from innerHTML (fix #3403) 2016-08-07 22:33:21 -04:00
Evan You 21908b7267 ensure children is only re-resolved on parent update (fix #3400) 2016-08-07 01:41:54 -04:00
Evan You 351aef3cb4 use comment node as empty placeholder (fix <transition> SSR hydration) 2016-08-05 01:52:09 -04:00