mofron-comp-apphdr
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -6,2 +6,3 @@ /** | ||
let mf = require('mofron'); | ||
let Image = require('mofron-comp-image'); | ||
let Header = require('mofron-comp-ttlhdr'); | ||
@@ -56,3 +57,5 @@ | ||
/* setter */ | ||
if (true !== mf.func.isInclude(img, 'Image')) { | ||
if ('string' === typeof img) { | ||
img = new Image(img); | ||
} else { | ||
throw new Error('invalid parameter'); | ||
@@ -59,0 +62,0 @@ } |
{ | ||
"name": "mofron-comp-apphdr", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "app header component for mofron", | ||
@@ -5,0 +5,0 @@ "main": "index.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
5108
116
4