citation-js 0.7.1 → 0.7.2
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/build/citation.js +6 -0
- package/build/citation.min.js +1 -1
- package/package.json +8 -8
package/build/citation.js
CHANGED
|
@@ -6510,6 +6510,9 @@ var _default = new _core.util.Translator([].concat(aliases, nonSpec, [{
|
|
|
6510
6510
|
convert: _shared.Converters.PICK,
|
|
6511
6511
|
when: {
|
|
6512
6512
|
source: {
|
|
6513
|
+
howpublished: function howpublished(howPublished) {
|
|
6514
|
+
return howPublished && !howPublished.startsWith('http');
|
|
6515
|
+
},
|
|
6513
6516
|
publisher: false,
|
|
6514
6517
|
organization: false,
|
|
6515
6518
|
institution: false
|
|
@@ -6859,6 +6862,9 @@ var _default = new _core.util.Translator([{
|
|
|
6859
6862
|
convert: _shared.Converters.PICK,
|
|
6860
6863
|
when: {
|
|
6861
6864
|
source: {
|
|
6865
|
+
howpublished: function howpublished(howPublished) {
|
|
6866
|
+
return howPublished && !howPublished.startsWith('http');
|
|
6867
|
+
},
|
|
6862
6868
|
publisher: false,
|
|
6863
6869
|
organization: false,
|
|
6864
6870
|
institution: false,
|