Skip to content

Commit

Permalink
MDL-58461 filter_mathjaxloader: Update defaults
Browse files Browse the repository at this point in the history
Also included a version bump for Moodle in order to trigger a filter upgrade.
  • Loading branch information
Damyon Wiese committed Apr 11, 2017
1 parent 3db9004 commit 21b4989
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion filter/mathjaxloader/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
$item = new admin_setting_configtext('filter_mathjaxloader/httpsurl',
new lang_string('httpsurl', 'filter_mathjaxloader'),
new lang_string('httpsurl_help', 'filter_mathjaxloader'),
'https://cdn.mathjax.org/mathjax/2.7-latest/MathJax.js',
'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js',
PARAM_RAW);
$settings->add($item);

Expand All @@ -44,6 +44,7 @@
$settings->add($item);

$default = '
MathJax.Ajax.config.path["Contrib"] = "{wwwroot}/filter/mathjaxloader/contrib";
MathJax.Hub.Config({
config: ["Accessible.js", "Safe.js"],
errorSettings: { message: ["!"] },
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

defined('MOODLE_INTERNAL') || die();

$version = 2017040700.00; // YYYYMMDD = weekly release date of this DEV branch.
$version = 2017041100.00; // YYYYMMDD = weekly release date of this DEV branch.
// RR = release increments - 00 in DEV branches.
// .XX = incremental changes.

Expand Down

0 comments on commit 21b4989

Please sign in to comment.