Skip to content

Commit 5aed9c9

Browse files
committed
update readme
1 parent f7b61e9 commit 5aed9c9

File tree

2 files changed

+2
-28
lines changed

2 files changed

+2
-28
lines changed

README-ko.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,20 +72,7 @@ test(200);
7272

7373
### 인터페이스 등록
7474

75-
1. [FlexHybridApp-Script](https://github.com/Kyun-J/FlexHybridApp-Scripts) 적용시
76-
77-
```js
78-
// in js
79-
$flex.web.funcName = async (req) => {
80-
return await new Promise((resolve) => {
81-
setTimeout(() => resolve(`received from web - ${req}`), 100);
82-
});
83-
};
84-
```
85-
86-
2. 미적용시
87-
88-
`window.onFlexLoad` 함수를 통해 \$flex 객체의 로드를 확인한 후 인터페이스를 등록하여햐 합니다.
75+
\$flex 객체가 로드 된 후 (`window.onFlexLoad` 함수로 \$flex 로드 시점 확인 가능) 인터페이스를 등록하여햐 합니다.
8976

9077
```js
9178
// in js

README.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,7 @@ test(200);
7474

7575
### Interface registration
7676

77-
1. When apply [FlexHybridApp-Script](https://github.com/Kyun-J/FlexHybridApp-Scripts)
78-
79-
```js
80-
// in js
81-
$flex.web.funcName = async (req) => {
82-
return await new Promise((resolve) => {
83-
setTimeout(() => resolve(`received from web - ${req}`), 100);
84-
});
85-
};
86-
```
87-
88-
2. Not apply
89-
90-
After checking the load of the \$flex object through the `window.onFlexLoad` function, register the interface.
77+
After the \$flex object is loaded (the `window.onFlexLoad` function can be checked on the \$flex Load time), register the interface.
9178

9279
```js
9380
// in js

0 commit comments

Comments
 (0)