@jasonsbarr/htdp-image
Advanced tools
Comparing version 0.6.3 to 0.7.0
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "0.6.3", | ||
"version": "0.7.0", | ||
"main": "./dist/index.cjs", | ||
@@ -11,0 +11,0 @@ "source": "./src/index.js", |
@@ -1,2 +0,2 @@ | ||
# HTDP/image.js | ||
# HTDP/Image.js | ||
@@ -45,3 +45,3 @@ A JavaScript port of the Racket Image library used in How To Design Programs. | ||
```html | ||
<script src="https://www.unpkg.com/@jasonsbarr/htdp-image@0.6.3/dist/index.umd.js"></script> | ||
<script src="https://www.unpkg.com/@jasonsbarr/htdp-image@0.7.0/dist/index.umd.js"></script> | ||
@@ -48,0 +48,0 @@ <script> |
@@ -119,4 +119,11 @@ import * as Lib from "./image-lib/index.js"; | ||
emptyImage, | ||
fileImage, | ||
fileVideo, | ||
imageURL, | ||
videoURL, | ||
isAngle, | ||
isSideCount, | ||
isStepCount, | ||
isImage, | ||
bitmapURL, | ||
imagesDifference, | ||
imagesEqual, | ||
} from "./make-image/index.js"; | ||
@@ -314,4 +321,11 @@ | ||
emptyImage, | ||
fileImage, | ||
fileVideo, | ||
imageURL, | ||
videoURL, | ||
isAngle, | ||
isSideCount, | ||
isStepCount, | ||
isImage, | ||
bitmapURL, | ||
imagesDifference, | ||
imagesEqual, | ||
}; |
@@ -1390,3 +1390,3 @@ import { | ||
export const fileImage = (src) => { | ||
export const imageURL = (src) => { | ||
const rawImage = document.createElement("img"); | ||
@@ -1398,3 +1398,3 @@ rawImage.src = src; | ||
export const fileVideo = (src) => { | ||
export const videoURL = (src) => { | ||
const rawVideo = document.createElement("video"); | ||
@@ -1405,1 +1405,15 @@ rawVideo.src = src; | ||
}; | ||
export const isAngle = ImageLib.isAngle; | ||
export const isSideCount = ImageLib.isSideCount; | ||
export const isStepCount = ImageLib.isStepCount; | ||
export const isImage = ImageLib.isImage; | ||
export const bitmapURL = imageURL; | ||
export const imagesDifference = ImageLib.imageDifference; | ||
export const imagesEqual = ImageLib.imageEquals; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1769689
6787