Skip to content

Commit

Permalink
Fix downloads page fetching from GitHub(#1684)
Browse files Browse the repository at this point in the history
This resolves #1624.

Fixes the missing examples for newly added language in the [example page](https://prismjs.com/examples.html).
  • Loading branch information
RunDevelopment authored and mAAdhaTTah committed Jan 21, 2019
1 parent 7eccea5 commit dbd3555
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion download.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var minified = true;

var dependencies = {};

var treeURL = 'https://api.github.com/repos/PrismJS/prism/git/trees/gh-pages?recursive=1';
var treeURL = 'https://api.github.com/repos/PrismJS/prism/git/trees/master?recursive=1';
var treePromise = new Promise(function(resolve) {
$u.xhr({
url: treeURL,
Expand Down
2 changes: 1 addition & 1 deletion examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

var examples = {};

var treeURL = 'https://api.github.com/repos/PrismJS/prism/git/trees/gh-pages?recursive=1';
var treeURL = 'https://api.github.com/repos/PrismJS/prism/git/trees/master?recursive=1';
var treePromise = new Promise(function (resolve) {
$u.xhr({
url: treeURL,
Expand Down

0 comments on commit dbd3555

Please sign in to comment.