Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion amd/build/editform.min.js

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

2 changes: 1 addition & 1 deletion amd/build/editform.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion amd/build/instantiation.min.js

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

2 changes: 1 addition & 1 deletion amd/build/instantiation.min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions amd/src/editform.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is part of Moodle - http://moodle.org/
// This file is part of Moodle - https://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -11,15 +11,15 @@
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
// along with Moodle. If not, see <https://www.gnu.org/licenses/>.

/**
* Helper functions for the form used to create / edit a formulas question.
*
* @module qtype_formulas/editform
* @copyright 2022 Philipp Imhof
* @author Philipp Imhof
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

import * as Notification from 'core/notification';
Expand Down
6 changes: 3 additions & 3 deletions amd/src/instantiation.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is part of Moodle - http://moodle.org/
// This file is part of Moodle - https://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand All @@ -11,15 +11,15 @@
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
// along with Moodle. If not, see <https://www.gnu.org/licenses/>.

/**
* Helper functions to check instantiation of variables
*
* @module qtype_formulas/instantiation
* @copyright 2022 Philipp Imhof
* @author Philipp Imhof
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/

import * as Notification from 'core/notification';
Expand Down
4 changes: 2 additions & 2 deletions answer_unit.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ private function check_convertibility_parsed($a, $targets_list) {
* Attempt to convert the $test_unit_name to one of the unit in the $base_unit_array,
* using any of the conversion rule added in this class earlier. No throw
*
* @param string $test_unit the name of the test unit
* @param string $test_unit_name the name of the test unit
* @param array $base_unit_array in the format of array(unit => exponent, ...)
* @return array(conversion factor, unit exponent) if it can be converted, otherwise null.
* @return null|array (conversion factor, unit exponent) if it can be converted, otherwise null.
*/
private function attempt_conversion($test_unit_name, $base_unit_array) {
// If the unit does not exist, we leave early.
Expand Down
Loading
Loading