Skip to content

Commit

Permalink
:npm run build
Browse files Browse the repository at this point in the history
  • Loading branch information
yysun committed Apr 9, 2021
1 parent 8d4f0f2 commit 7d061b6
Show file tree
Hide file tree
Showing 24 changed files with 10,214 additions and 364 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,23 @@
* apprun@latest: 2.x, stable, es2015, web component
* apprun@next: 3.x, dev, es2015, lit-html

## 1.28/ 2.28 / 3.28

* New app.query function that returns the returned values of all then event handlers
```ts
app.query(name: string, ...args): Promise<any[]>;
```
* Event pattern matching
```ts
app.on('ws:*', _ => 0); // handles all events that have name start with ws:
```
* Event context
```ts
@on('event', {c:1}) // define the context
fn = ({c}) => {...}; // get the context in the handler

```

## 1.27/ 2.27 / 3.27

* BREAKING CHANGES: New logic for creating stateful components
Expand Down Expand Up @@ -33,6 +50,7 @@
* Support the list attribute
* Support webpack 5
* Set jsxFactory to app.h for TypeScript 4

## 1.24 / 2.24 / 3.24

* Support the list attribute
Expand Down
2 changes: 1 addition & 1 deletion demo-html/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo-html/app.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/app.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/apprun-dev-tools.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/apprun-dev-tools.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/apprun-html.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/apprun-html.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/apprun-html.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/apprun-html.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/apprun.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/apprun.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/apprun.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/apprun.js.map

Large diffs are not rendered by default.

26 changes: 23 additions & 3 deletions esm/app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion esm/app.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion esm/apprun-dev-tools.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion esm/component.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion esm/vdom-my.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion esm/vdom-patch.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7d061b6

Please sign in to comment.