image-resource
Advanced tools
Comparing version 0.0.1 to 0.0.2
export declare class ImageResource { | ||
static load(source: string): Promise<ImageResource>; | ||
image: HTMLImageElement; | ||
@@ -3,0 +4,0 @@ private _naturalWidth; |
@@ -8,2 +8,6 @@ "use strict"; | ||
} | ||
ImageResource.load = function (source) { | ||
return new ImageResource().load(source); | ||
}; | ||
; | ||
ImageResource.prototype.load = function (source) { | ||
@@ -10,0 +14,0 @@ var _this = this; |
{ | ||
"name": "image-resource", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/image-resource.js", |
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
5170
131