Skip to content

Commit

Permalink
Merge pull request #515 from spencermountain/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
spencermountain authored Jan 29, 2023
2 parents bb505a6 + b90bca7 commit 799da0f
Show file tree
Hide file tree
Showing 10 changed files with 427 additions and 230 deletions.
4 changes: 2 additions & 2 deletions builds/wtf_wikipedia-client.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions builds/wtf_wikipedia-client.mjs

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions builds/wtf_wikipedia.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! wtf_wikipedia 10.1.1 MIT */
/*! wtf_wikipedia 10.1.2 MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('isomorphic-unfetch')) :
typeof define === 'function' && define.amd ? define(['isomorphic-unfetch'], factory) :
Expand Down Expand Up @@ -5379,6 +5379,7 @@
// boats
'ship': (tmpl) => {
let { prefix, name, id } = parser(tmpl, ['prefix', 'name', 'id']);
prefix = prefix || '';
return id ? `[[${prefix.toUpperCase()} ${name}]]` : `[[${prefix.toUpperCase()} ${name}]]`
},
'sclass': (tmpl) => {
Expand Down Expand Up @@ -10411,7 +10412,7 @@
})
};

var version = '10.1.1';
var version = '10.1.2';

/**
* use the native client-side fetch function
Expand Down
5 changes: 3 additions & 2 deletions builds/wtf_wikipedia.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! wtf_wikipedia 10.1.1 MIT */
/*! wtf_wikipedia 10.1.2 MIT */
import unfetch from 'isomorphic-unfetch';

/**
Expand Down Expand Up @@ -5371,6 +5371,7 @@ var functions = {
// boats
'ship': (tmpl) => {
let { prefix, name, id } = parser(tmpl, ['prefix', 'name', 'id']);
prefix = prefix || '';
return id ? `[[${prefix.toUpperCase()} ${name}]]` : `[[${prefix.toUpperCase()} ${name}]]`
},
'sclass': (tmpl) => {
Expand Down Expand Up @@ -10403,7 +10404,7 @@ const fetch = function (title, options, callback) {
})
};

var version = '10.1.1';
var version = '10.1.2';

/**
* use the native client-side fetch function
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
- **[new]** - fallbackTemplateFn handler #509
-->
#### 10.1.2 [Jan 2023]
- **[fix]** - #514 runtime error
- **[update]** - dependencies

#### 10.1.1 [Jan 2023]
- **[change]** - support many more inline templates
- **[fix]** - wikitext newline join issue
Expand Down
Loading

0 comments on commit 799da0f

Please sign in to comment.