mofron-layout-margin
Advanced tools
Comparing version 0.3.0 to 0.3.2
15
index.js
@@ -13,8 +13,9 @@ /** | ||
* | ||
* @param (mixed) ConfArg: type,value parameter | ||
* key-value: layout config | ||
* @param (mixed) type config parameter | ||
* dict: layout config list | ||
* @param (string(size)) value config parameter | ||
* @short type,value | ||
* @type private | ||
*/ | ||
constructor (prm) { | ||
constructor (p1,p2) { | ||
try { | ||
@@ -24,3 +25,3 @@ super(); | ||
this.shortForm('type', 'value'); | ||
/* init config */ | ||
@@ -31,4 +32,4 @@ this.confmng().add('type', { type: 'string', select: ['top', 'right', 'bottom', 'left'] }); | ||
/* set config */ | ||
if (undefined !== prm) { | ||
this.config(prm); | ||
if (0 < arguments.length) { | ||
this.config(p1,p2); | ||
} | ||
@@ -80,3 +81,3 @@ } catch (e) { | ||
* @param (string(size)) margin size | ||
* undefined: call as getter | ||
* undefined: call as getter | ||
* @return (string(size)) margin size | ||
@@ -83,0 +84,0 @@ * @type parameter |
{ | ||
"name": "mofron-layout-margin", | ||
"version": "0.3.0", | ||
"version": "0.3.2", | ||
"description": "margin layout of mofron", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/simpart/mofron-layout-margin.git" | ||
"url": "git+https://github.com/mofron/mofron-layout-margin.git" | ||
}, | ||
@@ -18,9 +18,9 @@ "keywords": [ | ||
"author": "simpart", | ||
"license": "SEE LICENSE IN LICENSE", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/simpart/mofron-layout-margin/issues" | ||
"url": "https://github.com/mofron/mofron-layout-margin/issues" | ||
}, | ||
"homepage": "https://github.com/simpart/mofron-layout-margin#readme", | ||
"homepage": "https://github.com/mofron/mofron-layout-margin#readme", | ||
"devDependencies": { | ||
} | ||
} |
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4985
0
85
0
2