This repository has been archived by the owner on Jul 14, 2020. It is now read-only.
forked from nobodxbodon/vscode_Chinese_Input_Assistant
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
hbybyyang
committed
Jun 27, 2020
1 parent
5e68402
commit 3090985
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// 使用 import 语法需要 `babel` 或者 `-r esm` | ||
import lib_esm from './lib_esm' | ||
var lib_node = require('./lib_node') | ||
var 中文变量 = 1 | ||
|
||
// 输入 lib_esm.zw | ||
// 输入 lib_node.zw | ||
// 输入 zw | ||
|
||
console.log(lib_node.加法(1)(2) == lib_esm.加法(1)(2)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default { | ||
中文: 1, | ||
另一个中文: 1, | ||
汉字: 1, | ||
加法: a => b => a + b | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = { | ||
中文: 1, | ||
另一个中文: 1, | ||
汉字: 1, | ||
加法: a => b => a + b | ||
|
||
} |