mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-27 16:50:09 +00:00
Add a simple JSDuck config file
Running jsduck command generates API documentation to docs directory. Change-Id: I1f9acbaf7868ebf48a56d20d6906cbcf23ef9748
This commit is contained in:
parent
34ad9973f2
commit
94405e7f6d
6
jsduck.json
Normal file
6
jsduck.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"--title": "RevisionSlider - Documentation",
|
||||
"--external": "jQuery,OO.ui.PanelLayout,OO.ui.Process",
|
||||
"--output": "docs",
|
||||
"--": "modules"
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
mw.libs.revisionSlider = mw.libs.revisionSlider || {};
|
||||
|
||||
/**
|
||||
* @member RevisionSlider
|
||||
* Fetches up to 500 revisions at a time
|
||||
*
|
||||
* @param {Object} options - Options containing callbacks for `success` and `error` as well as fields for
|
||||
|
|
Loading…
Reference in a new issue