mofron-comp-appbase
Advanced tools
Comparing version 0.4.1 to 0.4.2
11
index.js
@@ -151,12 +151,7 @@ /** | ||
/* setter */ | ||
if ('string' === typeof prm) { | ||
let dif_siz = mf.func.diffSize(prm, this.header().height()); | ||
if ((null === dif_siz) || (0 > mf.func.getSize(dif_siz)[0])) { | ||
super.height(prm); | ||
} else { | ||
super.height(dif_siz); | ||
} | ||
} else { | ||
let set_hei = mf.func.sizeDiff(prm, this.header().height()); | ||
if (0 > set_hei.value()) { | ||
throw new Error('invalid parameter'); | ||
} | ||
super.height(set_hei); | ||
} catch (e) { | ||
@@ -163,0 +158,0 @@ console.error(e.stack); |
{ | ||
"name": "mofron-comp-appbase", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "application base 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
7379
158