mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
docs(showdown.options): fix jsdocs for methods setOption, getOption and getOptions
This commit is contained in:
parent
51167c810d
commit
6492e74c5b
|
@ -24,7 +24,7 @@ showdown.extensions = {};
|
|||
* Set a global option
|
||||
* @static
|
||||
* @param {string} key
|
||||
* @param {string} value
|
||||
* @param {*} value
|
||||
* @returns {showdown}
|
||||
*/
|
||||
showdown.setOption = function (key, value) {
|
||||
|
@ -283,7 +283,7 @@ showdown.Converter = function (converterOptions) {
|
|||
/**
|
||||
* Set an option of this Converter instance
|
||||
* @param {string} key
|
||||
* @param {string} value
|
||||
* @param {*} value
|
||||
*/
|
||||
function setOption (key, value) {
|
||||
options[key] = value;
|
||||
|
|
Loading…
Reference in New Issue
Block a user