Skip to content

Commit

Permalink
feat: v0.0.29
Browse files Browse the repository at this point in the history
  • Loading branch information
theajack committed Sep 12, 2023
1 parent dd90b7e commit f3d4d62
Show file tree
Hide file tree
Showing 50 changed files with 907 additions and 930 deletions.
2 changes: 1 addition & 1 deletion README.cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ npm run dev
1. 该方式不建议在生产环境使用
2. 可以使用 type='text/babel',这样可以获得编辑器自带的语法高亮

您也可以在 [演练场](https://alinsjs.github.io/playground/#48) 中自由使用,演练场也是使用Web编译器
您也可以在 [演练场](https://alinsjs.github.io/playground/#free) 中自由使用,演练场也是使用Web编译器

## 2 比较

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Note:
1. This approach is not recommended for production environments.
2. You can use type='text/babel' to enable syntax highlighting provided by the editor.

You can also freely use it in the [playground](https://alinsjs.github.io/playground/#48), which also utilizes a web compiler.
You can also freely use it in the [playground](https://alinsjs.github.io/playground/#free), which also utilizes a web compiler.

## 2 Compare

Expand Down
2 changes: 1 addition & 1 deletion packages/client-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Note:
1. This approach is not recommended for production environments.
2. You can use type='text/babel' to enable syntax highlighting provided by the editor.

You can also freely use it in the [playground](https://alinsjs.github.io/playground/#48), which also utilizes a web compiler.
You can also freely use it in the [playground](https://alinsjs.github.io/playground/#free), which also utilizes a web compiler.

## 2 Compare

Expand Down
10 changes: 6 additions & 4 deletions packages/client-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "alins",
"version": "0.0.28",
"version": "0.0.29",
"description": "All-in-js Web UI Framework, No jsx/template/vdom/css/html",
"main": "src/index.ts",
"typings": "src/index.ts",
Expand All @@ -19,11 +19,13 @@
"license": "MIT",
"type": "module",
"dependencies": {
"alins-reactive": "^0.0.28",
"alins-utils": "^0.0.28"
"alins-reactive": "^0.0.29",
"alins-utils": "^0.0.29"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"module": "src/index.ts"
"module": "src/index.ts",
"unpkg": "dist/alins.iife.min.js",
"jsdelivr": "dist/alins.iife.min.js"
}
2 changes: 1 addition & 1 deletion packages/client-core/src/branch/branch-block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @Description: Coding something
*/
import { appendChild, Renderer } from '../element/renderer';
import { IReturnCall } from '../type';
import { IReturnCall } from '../element/alins.d';
import { getParent, insertBefore } from '../utils';
import { BranchCache } from './cache';

Expand Down
4 changes: 2 additions & 2 deletions packages/client-core/src/branch/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* @Description: Coding something
*/

import { IElement, ITextNode, ITrueElement, Renderer } from '../element/renderer';
import { IReturnCall } from '../type';
import type { IElement, ITextNode, ITrueElement, IReturnCall } from '../element/alins.d';
import { Renderer } from '../element/renderer';

function transformElementToCache (element: any): (IElement|ITextNode)[]|null {
if (!element) return null;
Expand Down
6 changes: 2 additions & 4 deletions packages/client-core/src/branch/if.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
* @Description: Coding something
*/
import { IWatchRefTarget, watch } from 'alins-reactive';
import {
IReturnCall
} from '../type';
import { IGeneralElement, Renderer } from '../element/renderer';
import { IGeneralElement, IReturnCall } from '../element/alins.d';
import { Renderer } from '../element/renderer';
import { empty } from 'alins-utils';
import { BranchBlock } from './branch-block';

Expand Down
4 changes: 2 additions & 2 deletions packages/client-core/src/branch/switch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

import { IWatchRefTarget, watch } from 'alins-reactive';
import { ISimpleValue } from 'alins-utils';
import { IGeneralElement, Renderer } from '../element/renderer';
import { IReturnCall } from '../type';
import { Renderer } from '../element/renderer';
import { BranchBlock } from './branch-block';
import { IGeneralElement, IReturnCall } from '../element/alins.d';

// export const _break = Symbol('b');
// export const _default = Symbol('d');
Expand Down
Loading

0 comments on commit f3d4d62

Please sign in to comment.