mofron-comp-appbase
Advanced tools
Comparing version 0.4.4 to 0.4.5
@@ -150,7 +150,10 @@ /** | ||
/* setter */ | ||
let set_hei = mf.func.sizeDiff(prm, this.header().height()); | ||
let set_hei = mf.func.getSize( | ||
mf.func.sizeDiff(prm, this.header().height()) | ||
); | ||
if (0 > set_hei.value()) { | ||
throw new Error('invalid parameter'); | ||
super.height(prm); | ||
} else { | ||
super.height(set_hei); | ||
} | ||
super.height(set_hei); | ||
} catch (e) { | ||
@@ -157,0 +160,0 @@ console.error(e.stack); |
{ | ||
"name": "mofron-comp-appbase", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"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
8432
193