forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-71113 js: Bare minimum fixes to build jsdoc
- Loading branch information
1 parent
1a62c82
commit 70dcc60
Showing
10 changed files
with
18 additions
and
17 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,6 @@ | |
* given day range. | ||
* | ||
* @module block_timeline/event_list | ||
* @package block_timeline | ||
* @copyright 2016 Ryan Wyllie <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
@@ -174,9 +173,9 @@ function( | |
* @param {Number} limit Limit the result set to this number of items | ||
* @param {Number} daysOffset How many days (from midnight) to offset the results from | ||
* @param {int|undefined} daysLimit How many dates (from midnight) to limit the result to | ||
* @param {int|falsey} lastId The ID of the last seen event (if any) | ||
* @param {int|false} lastId The ID of the last seen event (if any) | ||
* @param {int|undefined} courseId Course ID to restrict events to | ||
* @return {promise} A jquery promise | ||
* @return {Promise} A jquery promise | ||
*/ | ||
var load = function(midnight, limit, daysOffset, daysLimit, lastId, courseId) { | ||
var startTime = midnight + (daysOffset * SECONDS_IN_DAY); | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ | |
* | ||
* @module mod_lti/contentitem | ||
* @class contentitem | ||
* @package mod_lti | ||
* @copyright 2016 Jun Pataleta <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
* @since 3.2 | ||
|
@@ -89,8 +88,6 @@ define( | |
|
||
/** | ||
* Array of form fields for LTI tool configuration. | ||
* | ||
* @type {*[]} | ||
*/ | ||
var ltiFormFields = [ | ||
new FormField('name', FormField.TYPES.TEXT, false, ''), | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,20 +17,27 @@ | |
* Repository for payment subsystem. | ||
* | ||
* @module core_payment/repository | ||
* @package core_payment | ||
* @copyright 2020 Shamim Rezaie <[email protected]> | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later | ||
*/ | ||
|
||
import Ajax from 'core/ajax'; | ||
|
||
/** | ||
* @typedef {Object} PaymentGateway A Payment Gateway | ||
* @property {string} shortname | ||
* @property {string} name | ||
* @property {string} description | ||
*/ | ||
|
||
/** | ||
* Returns the list of gateways that can process payments in the given currency. | ||
* | ||
* @method getAvailableGateways | ||
* @param {string} component | ||
* @param {string} paymentArea | ||
* @param {number} itemId | ||
* @returns {Promise<{shortname: string, name: string, description: String}[]>} | ||
* @returns {Promise<PaymentGateway[]>} | ||
*/ | ||
export const getAvailableGateways = (component, paymentArea, itemId) => { | ||
const request = { | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters