Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
steve02081504 committed Aug 16, 2023
1 parent 6a351c3 commit 1e13a1c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ var {jsstp}=require('jsstp');
或者你是怀旧党,你可以通过cdn访问jsstp的源码

```html
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.1/dist/jsstp.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.2/dist/jsstp.min.js"></script>
```

或者在js中动态载入jsstp

```javascript
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.1/dist/jsstp.mjs");
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.2/dist/jsstp.mjs");
```

##### 类型定义
Expand Down
4 changes: 2 additions & 2 deletions docs/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ var {jsstp}=require('jsstp');
或者你是怀旧党,你可以通过cdn访问jsstp的源码

```html
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.1/dist/jsstp.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.2/dist/jsstp.min.js"></script>
```

或者在js中动态载入jsstp

```javascript
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.1/dist/jsstp.mjs");
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.2/dist/jsstp.mjs");
```

##### 类型定义
Expand Down
4 changes: 2 additions & 2 deletions docs/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ var jsstp=require('jsstp');
If you're a nostalgist, you can access jsstp's source code via CDN.

```html
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.1/dist/jsstp.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.2/dist/jsstp.min.js"></script>
```

Or load jsstp dynamically in js.

```javascript
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.1/dist/jsstp.mjs");
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.2/dist/jsstp.mjs");
```

##### type definition
Expand Down
4 changes: 2 additions & 2 deletions docs/README_JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ var {jsstp}=require('jsstp');
あるいは、古式ゆかしい方法で、cdn経由でjsstpのソースコードにアクセスすることができます。

```html
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.1/dist/jsstp.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.2/dist/jsstp.min.js"></script>
```

jsstpをjsで動的に読み込むこともできます。

```javascript
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.1/dist/jsstp.mjs");
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.2/dist/jsstp.mjs");
```

##### 型定義
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsstp",
"version": "2.4.1",
"version": "2.4.2",
"description": "Use js to communicate with ukagaka to exchange information.",
"main": "dist/jsstp.mjs",
"types": "dist/cn/jsstp.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions userscripts/web_ukagaka.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// ==UserScript==
// @name Web Ukagaka
// @namespace https://github.com/ukatech/jsstp-lib
// @version 0.0.0.3
// @version 0.0.0.4
// @description try to take over the world!
// @author steve02081504
// @match *://*/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=shillest.net
// @require https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.1/dist/jsstp.min.js
// @require https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v2.0.4.2/dist/jsstp.min.js
// @grant window.onurlchange
// @grant GM.setValue
// @grant GM.getValue
Expand Down

0 comments on commit 1e13a1c

Please sign in to comment.