Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanhogan committed May 17, 2018
1 parent f40b410 commit 8ca7b56
Show file tree
Hide file tree
Showing 3 changed files with 15,353 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/components/handleMainPage.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

const $ = require('jquery');
var $ = require('jquery');

function handleMainPage () {
var $img = $('#mp-tfa-img img');
Expand Down
1 change: 1 addition & 0 deletions app/scripts/components/handleNewPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function handleNewPage (pageTitle, lang) {
url: `https://${lang}.wikipedia.org/w/api.php?callback=?`,
data: {
action: "parse",
redirects: true,
prop: "text|sections|images",
page: decodedPageTitle,
format: 'json'
Expand Down
Loading

0 comments on commit 8ca7b56

Please sign in to comment.