Skip to content

Commit

Permalink
add new JSXGraph versions
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-web committed Mar 28, 2024
1 parent b9f1681 commit 70a13a2
Show file tree
Hide file tree
Showing 8 changed files with 135 additions and 5 deletions.
55 changes: 55 additions & 0 deletions amd/src/jsxgraphcore-v1.7.0-lazy.js

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions amd/src/jsxgraphcore-v1.8.0-lazy.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion db/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@
function xmldb_filter_jsxgraph_install() {

$release = 'v1.6.2'; // This value should be the same as in version.php!
$recommendedjsx = 'v1.6.2';
$recommendedjsx = 'v1.8.0';

$versions = [
["id" => "auto"],
["id" => '1.8.0', "label" => 'v1.8.0', "file" => 'jsxgraphcore-v1.8.0-lazy.js'],
["id" => '1.7.0', "label" => 'v1.7.0', "file" => 'jsxgraphcore-v1.7.0-lazy.js'],
["id" => '1.6.2', "label" => 'v1.6.2', "file" => 'jsxgraphcore-v1.6.2-lazy.js'],
["id" => '1.6.1', "label" => 'v1.6.1', "file" => 'jsxgraphcore-v1.6.1-lazy.js'],
["id" => '1.6.0', "label" => 'v1.6.0', "file" => 'jsxgraphcore-v1.6.0-lazy.js'],
Expand Down
4 changes: 3 additions & 1 deletion db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@
function xmldb_filter_jsxgraph_upgrade($oldversion) {

$release = 'v1.6.2'; // This value should be the same as in version.php!
$recommendedjsx = 'v1.6.2';
$recommendedjsx = 'v1.8.0';

$versions = [
["id" => "auto"],
["id" => '1.8.0', "label" => 'v1.8.0', "file" => 'jsxgraphcore-v1.8.0-lazy.js'],
["id" => '1.7.0', "label" => 'v1.7.0', "file" => 'jsxgraphcore-v1.7.0-lazy.js'],
["id" => '1.6.2', "label" => 'v1.6.2', "file" => 'jsxgraphcore-v1.6.2-lazy.js'],
["id" => '1.6.1', "label" => 'v1.6.1', "file" => 'jsxgraphcore-v1.6.1-lazy.js'],
["id" => '1.6.0', "label" => 'v1.6.0', "file" => 'jsxgraphcore-v1.6.0-lazy.js'],
Expand Down
2 changes: 1 addition & 1 deletion styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion styles/jsxgraph.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2008-2023
Copyright 2008-2024
Matthias Ehmann,
Michael Gerhaeuser,
Carsten Miller,
Expand Down
16 changes: 16 additions & 0 deletions thirdpartylibs.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
<?xml version="1.0"?>
<libraries>
<library>
<location>amd/src/jsxgraphcore-v1.8.0-lazy.js</location>
<name>JSXGraph 1.8.0</name>
<version>1.8.0</version>
<license>LGPL</license>
<licenseversion>3.0+</licenseversion>
</library>

<library>
<location>amd/src/jsxgraphcore-v1.7.0-lazy.js</location>
<name>JSXGraph 1.7.0</name>
<version>1.7.0</version>
<license>LGPL</license>
<licenseversion>3.0+</licenseversion>
</library>

<library>
<location>amd/src/jsxgraphcore-v1.6.2-lazy.js</location>
<name>JSXGraph 1.6.2</name>
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

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

$plugin->version = 2023121801; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2023121802; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2019111800; // Requires this Moodle version.
$plugin->supported = [38, 403]; // Moodle versions.
$plugin->component = 'filter_jsxgraph'; // Full name of the plugin (used for diagnostics).
Expand Down

0 comments on commit 70a13a2

Please sign in to comment.