forked from Botanical/BotanJS
Migrate old externs 5/x
This commit is contained in:
@@ -1,11 +1,25 @@
|
||||
/** @constructor */
|
||||
System.utils = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
System.utils.objGetProp;
|
||||
/** @type {Function} */
|
||||
System.utils.objSearch;
|
||||
/** @type {Function} */
|
||||
System.utils.objMap;
|
||||
/** @type {Function} */
|
||||
System.utils.siteProto;
|
||||
/**
|
||||
* @param {*} obj
|
||||
* @param {string} prop
|
||||
* @param {string} type
|
||||
*/
|
||||
System.utils.prototype.objGetProp = function(obj, prop, type) {};
|
||||
|
||||
/**
|
||||
* @param {*} obj
|
||||
* @param {function(*): boolean} cond
|
||||
* @param {string} prop
|
||||
*/
|
||||
System.utils.prototype.objSearch = function(obj, cond, prop) {};
|
||||
|
||||
/**
|
||||
* @param {*} obj
|
||||
* @param {function(*): *} callback
|
||||
*/
|
||||
System.utils.prototype.objMap = function(obj, callback) {};
|
||||
|
||||
/** @type {function(string): string} */
|
||||
System.utils.prototype.siteProto = function(path){};
|
||||
|
||||
Reference in New Issue
Block a user