Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianFun123 committed Oct 11, 2020
1 parent c7b7a83 commit 2141087
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 87 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CAJAX (*ClassedAjax*) Prajax (*PromiseAjax*) 1.1.7
# CAJAX (*ClassedAjax*) Prajax (*PromiseAjax*) 2.0.0
CajaxJS is an lightweight JS Http client for everyone!

#### NPM
Expand All @@ -8,16 +8,16 @@ npm install cajaxjs

### CDN
```
<script src="https://js.gjni.eu/cajax.js"></script>
<script src="https://cdn.jsdelivr.net/npm/cajaxjs@x/dist/cajax.js"></script>
<!-- OR -->
<script src="https://js.gjni.eu/cajax/1.1.4.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cajax.js"></script>
```

## CDN (module)
test.js
```javascript
import Cajax from 'https://js.gjni.eu/cajax/src/Cajax.js'
// or import { Cajax } from 'https://js.gjni.eu/cajax/index.js'
import Cajax from 'https://cdn.jsdelivr.net/npm/[email protected]/src/Cajax.js'
// or import { Cajax } from 'https://cdn.jsdelivr.net/npm/[email protected]/index.js'

Cajax.get("/").send()
// note that you have to use the script tag with type="module"
Expand Down
7 changes: 3 additions & 4 deletions egg.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
{
"name": "cajax",
"description": "Cajax/Prajax is an lightweight JS Http client for everyone!",
"version": "1.1.6",
"version": "2.0.0",
"bump": "patch",
"entry": "/index.js",
"entry": "index.js",
"unstable": false,
"unlisted": false,
"repository": "https://github.com/interaapps/cajax",
"files": [
"./src/**/*",
"./index.js",
"index.js"
"./index.js"
],
"ignore": [
".git"
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": "cajaxjs",
"version": "1.1.7",
"version": "2.0.0",
"description": "CajaxJS is an lightweight JS Http client for everyone! (Promise support) ",
"main": "index.js",
"scripts": {
Expand Down
13 changes: 0 additions & 13 deletions src/Cajax.d.ts

This file was deleted.

25 changes: 0 additions & 25 deletions src/CajaxRequest.d.ts

This file was deleted.

11 changes: 0 additions & 11 deletions src/CajaxResponse.d.ts

This file was deleted.

11 changes: 0 additions & 11 deletions src/Prajax.d.ts

This file was deleted.

15 changes: 0 additions & 15 deletions src/PrajaxClient.d.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/PrajaxPromise.d.ts

This file was deleted.

0 comments on commit 2141087

Please sign in to comment.