diff --git a/docs/en/start/lock/start.md b/docs/en/start/lock/start.md index a946a4ad2d..3658ca57b9 100644 --- a/docs/en/start/lock/start.md +++ b/docs/en/start/lock/start.md @@ -105,7 +105,7 @@ Demo success! Download java sdk and examples: ```shell @if.not.exist java-sdk -git clone https://github.com/layotto/java-sdk.git +git clone https://github.com/layotto/java-sdk ``` Change directory: @@ -138,39 +138,6 @@ TryLockResponse{success=true} UnlockResponse{status=LOCK_UNEXIST} ``` -### **JavaScript** - -Download js sdk and examples: - -```shell @if.not.exist js-sdk -git clone https://github.com/layotto/js-sdk.git -``` - -Change directory: - -```shell -cd js-sdk/demo -``` - -Build: - -```shell -npm install -``` - -Run the examples: - -```shell -npm run test:lock -``` - -And you will see: - -```bash -true -{ status: 0 } -``` - ## Next Step diff --git a/docs/zh/start/lock/start.md b/docs/zh/start/lock/start.md index 290eed312b..a224cfd1e8 100644 --- a/docs/zh/start/lock/start.md +++ b/docs/zh/start/lock/start.md @@ -105,7 +105,7 @@ Demo success! 下载 java sdk 和示例代码: ```shell @if.not.exist java-sdk -git clone https://github.com/layotto/java-sdk.git +git clone https://github.com/layotto/java-sdk ``` 切换目录: @@ -138,39 +138,6 @@ TryLockResponse{success=true} UnlockResponse{status=LOCK_UNEXIST} ``` -### **JavaScript** - -下载 js sdk 和示例代码: - -```shell @if.not.exist js-sdk -git clone https://github.com/layotto/js-sdk.git -``` - -切换目录: - -```shell -cd js-sdk/demo -``` - -构建: - -```shell -npm install -``` - -运行: - -```shell -npm run test:lock -``` - -打印出以下信息说明运行成功: - -```bash -true -{ status: 0 } -``` - ## 下一步