forked from Botanical/BotanJS
Migrate old externs 3/x
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
/** @constructor */
|
||||
var BotanEvent = function (){};
|
||||
/** @constructor
|
||||
* @param {string} name
|
||||
* @param {*} data
|
||||
**/
|
||||
var BotanEvent = function (name, data){};
|
||||
|
||||
/** @type {*} */
|
||||
BotanEvent.data;
|
||||
|
||||
/** @type {Function} */
|
||||
BotanEvent.propagate;
|
||||
BotanEvent.propagate = function() {};
|
||||
/** @type {Function} */
|
||||
BotanEvent.stopPropagating;
|
||||
BotanEvent.stopPropagating = function() {};
|
||||
|
||||
/** @type {Boolean} */
|
||||
BotanEvent.propagating;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/** @constructor
|
||||
* @implements {EventTarget}
|
||||
**/
|
||||
/**
|
||||
* @constructor
|
||||
* @implements {EventTarget}
|
||||
*/
|
||||
var EventDispatcher = function() {};
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
System.Debug = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
System.Debug.Info;
|
||||
System.Debug.prototype.Info = function(){};
|
||||
|
||||
/** @type {Function} */
|
||||
System.Debug.Error;
|
||||
System.Debug.prototype.Error = function(){};
|
||||
|
||||
@@ -1,23 +1,27 @@
|
||||
/** @type {Object} */
|
||||
_AstConf_.SiteFile = {};
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.f_host;
|
||||
/**
|
||||
* @typedef {{
|
||||
* f_host: string,
|
||||
* path: !_AstConf_.SiteFile.Path,
|
||||
* files: !Array<*>
|
||||
* }}
|
||||
*/
|
||||
_AstConf_.SiteFile;
|
||||
|
||||
/** @type {Object} */
|
||||
_AstConf_.SiteFile.path;
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.path.download;
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.path.info;
|
||||
/** @type {Object} */
|
||||
_AstConf_.SiteFile.path.image;
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.path.image.small;
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.path.image.medium;
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.path.image.large;
|
||||
/** @type {string} */
|
||||
_AstConf_.SiteFile.path.image.original;
|
||||
/** @type {Array} */
|
||||
_AstConf_.SiteFile.files;
|
||||
/**
|
||||
* @typedef {{
|
||||
* download: string,
|
||||
* info: string,
|
||||
* image: !_AstConf_.SiteFile.Path.Image
|
||||
* }}
|
||||
*/
|
||||
_AstConf_.SiteFile.Path;
|
||||
|
||||
/**
|
||||
* @typedef {{
|
||||
* small: string,
|
||||
* medium: string,
|
||||
* large: string,
|
||||
* original: string
|
||||
* }}
|
||||
*/
|
||||
_AstConf_.SiteFile.Path.Image;
|
||||
|
||||
Reference in New Issue
Block a user