pixi.js 7.1.0-alpha → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +17 -1
- package/dist/pixi.js +14939 -14414
- package/dist/pixi.js.map +1 -1
- package/dist/pixi.min.js +234 -234
- package/dist/pixi.min.js.map +1 -1
- package/dist/pixi.min.mjs +235 -235
- package/dist/pixi.min.mjs.map +1 -1
- package/dist/pixi.mjs +13399 -12884
- package/dist/pixi.mjs.map +1 -1
- package/lib/filters.d.ts +63 -0
- package/lib/filters.js +32 -0
- package/lib/filters.js.map +1 -0
- package/lib/filters.mjs +28 -0
- package/lib/filters.mjs.map +1 -0
- package/lib/index.d.ts +8 -44
- package/lib/index.js +124 -95
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +8 -19
- package/lib/index.mjs.map +1 -1
- package/package.json +33 -33
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2013-
|
|
3
|
+
Copyright (c) 2013-2023 Mathew Groves, Chad Engler
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -24,11 +24,27 @@ PixiJS can be installed with [npm](https://docs.npmjs.com/getting-started/what-i
|
|
|
24
24
|
```
|
|
25
25
|
npm install pixi.js
|
|
26
26
|
```
|
|
27
|
+
|
|
27
28
|
There is no default export. The correct way to import PixiJS is:
|
|
28
29
|
|
|
29
30
|
```js
|
|
30
|
-
import * as PIXI from 'pixi.js'
|
|
31
|
+
import * as PIXI from 'pixi.js';
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
#### CDN Install
|
|
35
|
+
|
|
36
|
+
Via jsDelivr:
|
|
37
|
+
|
|
38
|
+
```html
|
|
39
|
+
<script src="https://cdn.jsdelivr.net/npm/pixi.js@7.x/dist/pixi.min.js"></script>
|
|
31
40
|
```
|
|
41
|
+
|
|
42
|
+
Or via unpkg:
|
|
43
|
+
|
|
44
|
+
```html
|
|
45
|
+
<script src="https://unpkg.com/pixi.js@7.x/dist/pixi.min.js"></script>
|
|
46
|
+
```
|
|
47
|
+
|
|
32
48
|
### Basic Usage Example
|
|
33
49
|
|
|
34
50
|
```js
|