Commit Graph

2478 Commits

Author SHA1 Message Date
Evan You
5b4e6679cb chore: update sponsors 2018-01-02 23:44:27 -05:00
JK
400aa651ba chore: fix setup script (#7364) 2018-01-02 11:21:05 -05:00
Evan You
6be9fdbc83 chore: avoid production tip during tests 2017-12-30 20:01:57 -05:00
Hanks
f319bef532 chore: update weex flow type annotations (#7322) 2017-12-26 21:33:48 -05:00
Hanks
ff8fcd2e2b feat(weex): support parse object literal in binding attrs and styles (#7291) 2017-12-26 21:33:37 -05:00
Evan You
f8cb3a2393 chore: fix lint 2017-12-25 11:05:54 -05:00
孟健
dccd182b67 fix: allow codebase to be inlined directly in HTML (#7314)
escape - to avoid regex being parsed as HTML comment when entire codebase is inlined.
fix #7298
2017-12-25 10:50:36 -05:00
Huo Chunyang
44420b7bbc chore: correct the eslint script statement in package.json and correct the format. (#7308) 2017-12-24 12:28:28 -05:00
Evan You
60fb8143f1 chore: fix OpenCollective links 2017-12-22 14:48:35 -05:00
Xavier Damman
c05bbdfc36 chore: fixes gold / platinum sponsors on open collective (#7311)
Fixes https://github.com/opencollective/opencollective/issues/777
2017-12-22 14:46:01 -05:00
Evan You
144a4dd860 build: rename build/ to scripts/ 2017-12-21 20:17:47 -05:00
Evan You
2494772947 chore: add one-time donation link 2017-12-21 17:04:19 -05:00
Evan You
41838c8e86 feat: support v-model dynamic type binding for v-bind="object"
close #7296
2017-12-21 11:06:43 -05:00
Evan You
d8b08387a2 fix: clean up custom events when patched component no longer have events
fix #7294
2017-12-21 10:36:03 -05:00
Evan You
956756b1be refactor: use more efficient on-demand clone to handle reused node edge cases
removes unnecessary slot/static node clones, fix #7292
2017-12-20 19:44:24 -05:00
Evan You
8335217cb4 fix(core): handle edge cases for functional component returning arrays
fix #7282
2017-12-20 11:02:56 -05:00
katashin
49aae6bb15 fix(types): make VNodeChildrenArrayContents type more accurate (#7287) 2017-12-20 09:09:23 -05:00
cinwell.li
e055df82fe fix(weex): default value for editor, fix #7165 (#7286)
* fix(weex): default value for editor, fix #7165

/cc Hanks10100

* fix(weex): recycle-list test
2017-12-20 09:05:21 -05:00
Evan You
7cc0b559e9 feat(weex): update new syntax for <recycle-list> 2017-12-19 16:19:07 -05:00
Hanks
472a2896bd feat(weex): adjust framework entry APIs and add flow annotations (#7272)
1. Remove the "init", "reset", "getRoot" and "receiveTasks" APIs, which
are already implemented in the new version of "weex-js-runtime".
2. Use "createInstanceContext" instead of "createInstance". Vue only
needs to prepare the instance context and no longer execute the js
code. The js code will be executed by native.
3. Add flow type declarations and annotations.
2017-12-19 15:47:53 -05:00
Evan You
d982e344b3 build: release 2.5.13 2017-12-19 14:06:52 -05:00
Evan You
cc319bd8f7 build: build 2.5.13 2017-12-19 14:06:50 -05:00
Evan You
aac76349e7 Revert "feat: auto cache inline prop literals to avoid child re-render"
This reverts commit 996eb00a0a.
2017-12-19 14:03:39 -05:00
Evan You
ec2c48cfd5 build: release 2.5.12 2017-12-19 09:54:15 -05:00
Evan You
bc719405c0 build: build 2.5.12 2017-12-19 09:54:13 -05:00
Herrington Darkholme
bacb911f7d fix(warning): allow symbol as vdom key (#7271) 2017-12-19 09:35:50 -05:00
Wenlu Wang
c0d516c283 feat(types): extract VueConfiguration type for easy expansion (#7273) (#7274)
fix #7273
2017-12-19 09:34:35 -05:00
Evan You
01c07503bf revert: revert prop object validation
close #7279
2017-12-19 09:29:48 -05:00
Evan You
2e0f6d5d81 refactor: reuse v-for parsing logic 2017-12-19 09:26:47 -05:00
Evan You
1dd6b6f046 refactor: adjust weex branch coverage and build for merging into dev 2017-12-18 21:51:38 -05:00
Hanks
661bfe552e feat(weex): partially support lifecycles of virtual component (#7242)
Update the `_init` and `_update` logic to partially support lifecycles.
Add test cases for testing the lifecycle hooks and data update.
2017-12-18 20:58:53 -05:00
Hanks
d544d052a9 fix(weex): append as tree by default for recycle-list and cell-slot (#7216) 2017-12-18 20:57:43 -05:00
Hanks
b8d33ecd9a feat(weex): WIP implement virtual component (#7165) 2017-12-18 20:57:43 -05:00
Evan You
70b97ac2f4 feat(weex): recycle-list support stateful child component 2017-12-18 20:57:19 -05:00
Evan You
452a65c98a feat(weex): pass stateless component test case 2017-12-18 20:57:19 -05:00
Evan You
62e47c9eb4 feat(weex): WIP adjust component transform stage 2017-12-18 20:57:19 -05:00
Evan You
88f3889f19 feat(weex): WIP mark recycle list child component root 2017-12-18 20:57:19 -05:00
Evan You
b06d09f274 types: adjust weex flow types 2017-12-18 20:57:18 -05:00
Evan You
5c2ce0017f feat(weex): WIP fix flow + handle errors in recycle-list template render 2017-12-18 20:57:18 -05:00
Evan You
801f793625 feat(weex): WIP invoke recycle-list child component with backing instance 2017-12-18 20:57:18 -05:00
Evan You
c1743a9dd7 test(weex): use done.fail for reporting errors 2017-12-18 20:57:18 -05:00
Evan You
0ee81b24b5 fix(weex): update recycle-list v-for transform 2017-12-18 20:57:18 -05:00
Hanks
3b32652aa6 feat(weex): update weex utils (#7115)
Add flow type annotations. Add the "registerComponentHook" and the "updateComponentData" api.
2017-12-18 20:57:18 -05:00
Evan You
e5da1daeec test(weex): avoid v-else warning for recycle-list tests 2017-12-18 20:57:18 -05:00
Evan You
bb8e8f44a9 test(weex): avoid @binding key warnings 2017-12-18 20:57:18 -05:00
Evan You
813409593e refactor(weex): declare __WEEX__ in flow typings 2017-12-18 20:57:18 -05:00
Hanks
46c8016562 test(weex): add more test cases for recycle-list (#7104) 2017-12-18 20:56:41 -05:00
Hanks
0bf0cbef76 revert(weex): remove the "receiveTasks" api and support component hook (#7053) 2017-12-18 20:56:41 -05:00
Hanks
0c11aa8add feat(weex): generate "@render" function for weex recycle-list (#6987)
* feat($compiler): support to generate @render function for weex recycle-list

Compile the template twice with different options for weex platform if
the “recyclable” flag is passed. Generate both normal render function
and “@render” function for recycle-list.

Adjust function names and arguments in recycle-list compiler.

* test(weex): add test cases for <recycle-list>
2017-12-18 20:55:58 -05:00
Evan You
305ef28574 chore: update package-lock.json 2017-12-18 20:55:58 -05:00