@inglorious/logo 2.0.13 → 2.0.15
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/package.json +1 -1
- package/src/handlers.js +1 -1
- package/src/index.js +3 -3
- package/src/render.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inglorious/logo",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.15",
|
|
4
4
|
"description": "The Inglorious Coderz logo, remade to be compatible with Inglorious Web.",
|
|
5
5
|
"author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
|
|
6
6
|
"license": "MIT",
|
package/src/handlers.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @property {(id: string) => LogoEntity} getEntity
|
|
6
6
|
* @property {(topic: string, payload: any) => void} notify
|
|
7
7
|
*/
|
|
8
|
-
import { closestAncestor, isTouchDevice, saturate } from "./utils"
|
|
8
|
+
import { closestAncestor, isTouchDevice, saturate } from "./utils.js"
|
|
9
9
|
|
|
10
10
|
const MAX_HEAD_TILT_X = 400
|
|
11
11
|
const MAX_HEAD_TILT_Y = 400
|
package/src/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { logo as logic } from "./handlers"
|
|
2
|
-
import { render } from "./render"
|
|
1
|
+
import { logo as logic } from "./handlers.js"
|
|
2
|
+
import { render } from "./render.js"
|
|
3
3
|
|
|
4
4
|
export const logo = { ...logic, render }
|
|
5
5
|
|
|
6
|
-
export { startInteraction, stopInteraction } from "./handlers"
|
|
6
|
+
export { startInteraction, stopInteraction } from "./handlers.js"
|
package/src/render.js
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import { html, styleMap, when } from "@inglorious/web"
|
|
18
18
|
|
|
19
19
|
import eye from "./assets/eye.svg"
|
|
20
|
-
import * as faces from "./assets/faces"
|
|
20
|
+
import * as faces from "./assets/faces/index.js"
|
|
21
21
|
|
|
22
22
|
const MINUS_FORTY_DEGREES = -0.6981
|
|
23
23
|
const MINUS_FORTY_FIVE_DEGREES = -0.7854
|