read-context-settings
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -25,5 +25,7 @@ //Get content of meta tag via name | ||
//Try both API (PL) and meta tags (Phase 1) to get context setting | ||
export const getContextSetting = (name) => { | ||
const getContextSetting = (name) => { | ||
let plContext = readAPIContextSettings(); | ||
return plContext ? plContext["meta.data.name"][name] : getMetaContent(name); | ||
}; | ||
export default getContextSetting; |
{ | ||
"name": "read-context-settings", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A tool for reading context settings from the various Core article types", | ||
@@ -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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
1841
3
26
1
22