libram 0.9.12 → 0.9.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/property.js +1 -1
- package/package.json +1 -1
package/dist/property.js
CHANGED
|
@@ -67,7 +67,7 @@ export function get(property, _default) {
|
|
|
67
67
|
return getPhylum(property, _default);
|
|
68
68
|
}
|
|
69
69
|
else if (isStringProperty(property)) {
|
|
70
|
-
return value;
|
|
70
|
+
return value === "" && _default !== undefined ? _default : value;
|
|
71
71
|
}
|
|
72
72
|
// Not a KnownProperty from here on out.
|
|
73
73
|
if (_default instanceof Location) {
|