Skip to content

Commit

Permalink
8.4.0 rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
spencermountain committed Jul 9, 2020
1 parent 7b64a93 commit 30cb526
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 11 deletions.
10 changes: 7 additions & 3 deletions builds/wtf_wikipedia-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -4657,6 +4657,7 @@

var Infobox = function Infobox(obj) {
this._type = obj.type;
this.domain = obj.domain;
Object.defineProperty(this, 'data', {
enumerable: false,
value: obj.data
Expand Down Expand Up @@ -4700,7 +4701,8 @@

var obj = s.json();
obj.file = obj.text;
obj.text = ''; // TODO: add lang and domain information for image
obj.text = '';
obj.domain = this.domain; // add domain information for image

return new Image_1(obj);
},
Expand Down Expand Up @@ -8227,7 +8229,7 @@
}; //reduce the scary recursive situations


var allTemplates = function allTemplates(section) {
var allTemplates = function allTemplates(section, doc) {
var wiki = section.wiki; // nested data-structure of templates

var list = find(wiki);
Expand Down Expand Up @@ -8272,6 +8274,8 @@
}

if (isInfobox$1(obj) === true) {
obj.domain = doc.domain; //

section.infoboxes.push(new Infobox_1(obj));
return false;
}
Expand Down Expand Up @@ -8545,7 +8549,7 @@

parse$6.references(section); //parse-out all {{templates}}

parse$6.templates(section); // //parse the tables
parse$6.templates(section, doc); // //parse the tables

parse$6.table(section); //now parse all double-newlines

Expand Down
2 changes: 1 addition & 1 deletion builds/wtf_wikipedia-client.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion builds/wtf_wikipedia-client.mjs

Large diffs are not rendered by default.

10 changes: 7 additions & 3 deletions builds/wtf_wikipedia.js
Original file line number Diff line number Diff line change
Expand Up @@ -4659,6 +4659,7 @@

var Infobox = function Infobox(obj) {
this._type = obj.type;
this.domain = obj.domain;
Object.defineProperty(this, 'data', {
enumerable: false,
value: obj.data
Expand Down Expand Up @@ -4702,7 +4703,8 @@

var obj = s.json();
obj.file = obj.text;
obj.text = ''; // TODO: add lang and domain information for image
obj.text = '';
obj.domain = this.domain; // add domain information for image

return new Image_1(obj);
},
Expand Down Expand Up @@ -8229,7 +8231,7 @@
}; //reduce the scary recursive situations


var allTemplates = function allTemplates(section) {
var allTemplates = function allTemplates(section, doc) {
var wiki = section.wiki; // nested data-structure of templates

var list = find(wiki);
Expand Down Expand Up @@ -8274,6 +8276,8 @@
}

if (isInfobox$1(obj) === true) {
obj.domain = doc.domain; //

section.infoboxes.push(new Infobox_1(obj));
return false;
}
Expand Down Expand Up @@ -8547,7 +8551,7 @@

parse$6.references(section); //parse-out all {{templates}}

parse$6.templates(section); // //parse the tables
parse$6.templates(section, doc); // //parse the tables

parse$6.table(section); //now parse all double-newlines

Expand Down
10 changes: 7 additions & 3 deletions builds/wtf_wikipedia.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4653,6 +4653,7 @@ var normalize = function normalize(str) {

var Infobox = function Infobox(obj) {
this._type = obj.type;
this.domain = obj.domain;
Object.defineProperty(this, 'data', {
enumerable: false,
value: obj.data
Expand Down Expand Up @@ -4696,7 +4697,8 @@ var methods$9 = {

var obj = s.json();
obj.file = obj.text;
obj.text = ''; // TODO: add lang and domain information for image
obj.text = '';
obj.domain = this.domain; // add domain information for image

return new Image_1(obj);
},
Expand Down Expand Up @@ -8223,7 +8225,7 @@ var isInfobox$1 = function isInfobox(obj) {
}; //reduce the scary recursive situations


var allTemplates = function allTemplates(section) {
var allTemplates = function allTemplates(section, doc) {
var wiki = section.wiki; // nested data-structure of templates

var list = find(wiki);
Expand Down Expand Up @@ -8268,6 +8270,8 @@ var allTemplates = function allTemplates(section) {
}

if (isInfobox$1(obj) === true) {
obj.domain = doc.domain; //

section.infoboxes.push(new Infobox_1(obj));
return false;
}
Expand Down Expand Up @@ -8541,7 +8545,7 @@ var oneSection = function oneSection(section, doc) {

parse$6.references(section); //parse-out all {{templates}}

parse$6.templates(section); // //parse the tables
parse$6.templates(section, doc); // //parse the tables

parse$6.table(section); //now parse all double-newlines

Expand Down

0 comments on commit 30cb526

Please sign in to comment.