mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
e4662a65cd
* Check in #getGitHeadHash now ensures a false value is
cached as well.
* Made ve.version.id being false when invalid more stable
since we now rely on this as of eeb3ac3b19
.
* Added documentation for ve.version.
Change-Id: I164aa9ebaa7f8a4d1e8f2210af76e06b23abef09
61 lines
1 KiB
JavaScript
61 lines
1 KiB
JavaScript
/**
|
|
* @class jQuery
|
|
* @source <http://api.jquery.com/>
|
|
*/
|
|
|
|
/**
|
|
* @method ajax
|
|
* @source <http://api.jquery.com/jQuery.ajax/>
|
|
* @return {jqXHR}
|
|
*/
|
|
|
|
/**
|
|
* @class jQuery.Event
|
|
* @source <http://api.jquery.com/Types/#Event>
|
|
*/
|
|
|
|
/**
|
|
* @class jQuery.Promise
|
|
* @source <http://api.jquery.com/Types/#Promise>
|
|
*/
|
|
|
|
/**
|
|
* @class jQuery.Deferred
|
|
* @mixins jQuery.Promise
|
|
* @source <http://api.jquery.com/jQuery.Deferred/>
|
|
*/
|
|
|
|
/**
|
|
* @class jQuery.jqXHR
|
|
* @source <http://api.jquery.com/Types/#jqXHR>
|
|
* @alternateClassName jqXHR
|
|
*/
|
|
|
|
/**
|
|
* @class QUnit
|
|
* @source <http://api.qunitjs.com/>
|
|
*/
|
|
|
|
/**
|
|
* Provided by VisualEditorDataModule.php for the MediaWiki environment.
|
|
*
|
|
* @class ve.version
|
|
* @singleton
|
|
*/
|
|
|
|
/**
|
|
* @property {string|boolean} [id=false] Git commit hash (abbreviated to 7 characters)
|
|
*/
|
|
|
|
/**
|
|
* @property {string|boolean} [url=false] URL to git commit viewer for #id
|
|
*/
|
|
|
|
/**
|
|
* @property {number|boolean} [timestamp=false] Commit date (UNIX timestamp)
|
|
*/
|
|
|
|
/**
|
|
* @property {string} [dateString=""] Formatted date or empty string
|
|
*/
|