Skip to content

Commit 2141087

Browse files
committedOct 11, 2020
2.0.0
1 parent c7b7a83 commit 2141087

9 files changed

+9
-87
lines changed
 

‎README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CAJAX (*ClassedAjax*) Prajax (*PromiseAjax*) 1.1.7
1+
# CAJAX (*ClassedAjax*) Prajax (*PromiseAjax*) 2.0.0
22
CajaxJS is an lightweight JS Http client for everyone!
33

44
#### NPM
@@ -8,16 +8,16 @@ npm install cajaxjs
88

99
### CDN
1010
```
11-
<script src="https://js.gjni.eu/cajax.js"></script>
11+
<script src="https://cdn.jsdelivr.net/npm/cajaxjs@x/dist/cajax.js"></script>
1212
<!-- OR -->
13-
<script src="https://js.gjni.eu/cajax/1.1.4.js"></script>
13+
<script src="https://cdn.jsdelivr.net/npm/cajaxjs@2.0.0/dist/cajax.js"></script>
1414
```
1515

1616
## CDN (module)
1717
test.js
1818
```javascript
19-
import Cajax from 'https://js.gjni.eu/cajax/src/Cajax.js'
20-
// or import { Cajax } from 'https://js.gjni.eu/cajax/index.js'
19+
import Cajax from 'https://cdn.jsdelivr.net/npm/cajaxjs@2.0.0/src/Cajax.js'
20+
// or import { Cajax } from 'https://cdn.jsdelivr.net/npm/cajaxjs@2.0.0/index.js'
2121

2222
Cajax.get("/").send()
2323
// note that you have to use the script tag with type="module"

‎egg.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
{
22
"name": "cajax",
33
"description": "Cajax/Prajax is an lightweight JS Http client for everyone!",
4-
"version": "1.1.6",
4+
"version": "2.0.0",
55
"bump": "patch",
6-
"entry": "/index.js",
6+
"entry": "index.js",
77
"unstable": false,
88
"unlisted": false,
99
"repository": "https://github.com/interaapps/cajax",
1010
"files": [
1111
"./src/**/*",
12-
"./index.js",
13-
"index.js"
12+
"./index.js"
1413
],
1514
"ignore": [
1615
".git"

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cajaxjs",
3-
"version": "1.1.7",
3+
"version": "2.0.0",
44
"description": "CajaxJS is an lightweight JS Http client for everyone! (Promise support) ",
55
"main": "index.js",
66
"scripts": {

‎src/Cajax.d.ts

-13
This file was deleted.

‎src/CajaxRequest.d.ts

-25
This file was deleted.

‎src/CajaxResponse.d.ts

-11
This file was deleted.

‎src/Prajax.d.ts

-11
This file was deleted.

‎src/PrajaxClient.d.ts

-15
This file was deleted.

‎src/PrajaxPromise.d.ts

-2
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.