Initial commit
This commit is contained in:
16
botanjs/src/externs/BotanEvent.js
Normal file
16
botanjs/src/externs/BotanEvent.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/** @constructor */
|
||||
var BotanEvent = function (){};
|
||||
|
||||
/** @type {object} */
|
||||
BotanEvent.data;
|
||||
|
||||
/** @type {Function} */
|
||||
BotanEvent.propagate;
|
||||
/** @type {Function} */
|
||||
BotanEvent.stopPropagating;
|
||||
|
||||
/** @type {Boolean} */
|
||||
BotanEvent.propagating;
|
||||
|
||||
/** @type {Function} */
|
||||
BotanEvent.setTarget;
|
18
botanjs/src/externs/BotanJS.js
Normal file
18
botanjs/src/externs/BotanJS.js
Normal file
@@ -0,0 +1,18 @@
|
||||
/** @constructor
|
||||
* @implements {EventTarget}
|
||||
**/
|
||||
var BotanJS = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
BotanJS.define;
|
||||
/** @type {Function} */
|
||||
BotanJS.getDef;
|
||||
|
||||
/** @type {Object} */
|
||||
BotanJS.log = {};
|
||||
/** @type {Function} */
|
||||
BotanJS.log.write;
|
||||
/** @type {Function} */
|
||||
BotanJS.log.read;
|
||||
/** @type {Function} */
|
||||
BotanJS.log.end;
|
7
botanjs/src/externs/Components.MessageBox.js
Normal file
7
botanjs/src/externs/Components.MessageBox.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/** @constructor */
|
||||
Components.MessageBox = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
Components.MessageBox.setHandler;
|
||||
/** @type {Function} */
|
||||
Components.MessageBox.show;
|
@@ -0,0 +1,9 @@
|
||||
/** @constructor */
|
||||
Components.Mouse.Clipboard.SwfHelperObj = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
Components.Mouse.Clipboard.SwfHelperObj.dummy;
|
||||
/** @type {Function} */
|
||||
Components.Mouse.Clipboard.SwfHelperObj.debug;
|
||||
/** @type {Function} */
|
||||
Components.Mouse.Clipboard.SwfHelperObj.copy;
|
15
botanjs/src/externs/Components.Mouse.Clipboard.js
Normal file
15
botanjs/src/externs/Components.Mouse.Clipboard.js
Normal file
@@ -0,0 +1,15 @@
|
||||
/** @constructor */
|
||||
Components.Mouse.Clipboard = function() {};
|
||||
|
||||
/** @type {Function} */
|
||||
Components.Mouse.Clipboard.init;
|
||||
/** @type {Function} */
|
||||
Components.Mouse.Clipboard.setTextToCopy;
|
||||
/** @type {Function} */
|
||||
Components.Mouse.Clipboard.onMouseOver;
|
||||
/** @type {Function} */
|
||||
Components.Mouse.Clipboard.onMouseOut;
|
||||
/** @type {Function} */
|
||||
Components.Mouse.Clipboard._textCopied;
|
||||
/** @type {Function} */
|
||||
Components.Mouse.Clipboard.capture;
|
2
botanjs/src/externs/Components.Mouse.ContextMenu.js
Normal file
2
botanjs/src/externs/Components.Mouse.ContextMenu.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @constructor */
|
||||
Components.Mouse.ContextMenu = function() {};
|
2
botanjs/src/externs/Components.Mouse.js
Normal file
2
botanjs/src/externs/Components.Mouse.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @constructor */
|
||||
Components.Mouse = function() {};
|
2
botanjs/src/externs/Components.js
Normal file
2
botanjs/src/externs/Components.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @constructor */
|
||||
var Components = function() {};
|
14
botanjs/src/externs/Dandelion.CSSAnimations.MovieClip.js
Normal file
14
botanjs/src/externs/Dandelion.CSSAnimations.MovieClip.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/** @constructor */
|
||||
Dandelion.CSSAnimations.MovieClip = function (){};
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.CSSAnimations.MovieClip.gotoFrame;
|
||||
/** @type {Function} */
|
||||
Dandelion.CSSAnimations.MovieClip.prevFrame;
|
||||
/** @type {Function} */
|
||||
Dandelion.CSSAnimations.MovieClip.nextFrame;
|
||||
/** @type {Element} */
|
||||
Dandelion.CSSAnimations.MovieClip.stage;
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.CSSAnimations.MouseOverMovie;
|
2
botanjs/src/externs/Dandelion.CSSAnimations.js
Normal file
2
botanjs/src/externs/Dandelion.CSSAnimations.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @constructor */
|
||||
Dandelion.CSSAnimations = function (){};
|
23
botanjs/src/externs/Dandelion.IDOMElement.js
Normal file
23
botanjs/src/externs/Dandelion.IDOMElement.js
Normal file
@@ -0,0 +1,23 @@
|
||||
/** @constructor */
|
||||
Dandelion.IDOMElement = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.IDOMElement.getDAttribute;
|
||||
/** @type {Function} */
|
||||
Dandelion.IDOMElement.setAttribute;
|
||||
/** @type {Function} */
|
||||
Dandelion.IDOMElement.lootChildren;
|
||||
/** @type {Function} */
|
||||
Dandelion.IDOMElement.foreach;
|
||||
/** @type {Function} */
|
||||
Dandelion.IDOMElement.first;
|
||||
/** @type {Function} */
|
||||
Dandelion.IDOMElement.last;
|
||||
/** @type {Function} */
|
||||
Dandelion.IDOMElement.contains;
|
||||
/** @type {Function} */
|
||||
Dandelion.IDOMElement.aKeys;
|
||||
/** @type {Element} */
|
||||
Dandelion.IDOMElement.element;
|
||||
/** @type {Element} */
|
||||
Dandelion.IDOMElement.reverseChild;
|
11
botanjs/src/externs/Dandelion.IDOMObject.js
Normal file
11
botanjs/src/externs/Dandelion.IDOMObject.js
Normal file
@@ -0,0 +1,11 @@
|
||||
/** @constructor */
|
||||
Dandelion.IDOMObject = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.IDOMObject.addEventListener;
|
||||
/** @type {Function} */
|
||||
Dandelion.IDOMObject.addEventListeners;
|
||||
/** @type {Function} */
|
||||
Dandelion.IDOMObject.hasListener;
|
||||
/** @type {Function} */
|
||||
Dandelion.IDOMObject.removeEventListener;
|
5
botanjs/src/externs/Dandelion.Swf.ExtAPI.js
Normal file
5
botanjs/src/externs/Dandelion.Swf.ExtAPI.js
Normal file
@@ -0,0 +1,5 @@
|
||||
/** @constructor */
|
||||
Dandelion.Swf.ExtAPI = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.Swf.ExtAPI.ready;
|
7
botanjs/src/externs/Dandelion.Swf.js
Normal file
7
botanjs/src/externs/Dandelion.Swf.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/** @constructor */
|
||||
Dandelion.Swf = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.Swf.create;
|
||||
/** @type {Function} */
|
||||
Dandelion.Swf.realize;
|
38
botanjs/src/externs/Dandelion.js
Normal file
38
botanjs/src/externs/Dandelion.js
Normal file
@@ -0,0 +1,38 @@
|
||||
/** @constructor */
|
||||
var Dandelion = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.wrap;
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.wrapc;
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.wrape;
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.wrapne;
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.wrapna;
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.textNode;
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.bubbleUp;
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.chainUpApply;
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.id;
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.tag;
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.name;
|
||||
|
||||
/** @type {Function} */
|
||||
Dandelion.glass;
|
11
botanjs/src/externs/System.Cycle.Trigger.js
Normal file
11
botanjs/src/externs/System.Cycle.Trigger.js
Normal file
@@ -0,0 +1,11 @@
|
||||
/** @constructor */
|
||||
System.Cycle.Trigger = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
System.Cycle.Trigger.register;
|
||||
|
||||
/** @type {Function} */
|
||||
System.Cycle.Trigger.transition;
|
||||
|
||||
/** @type {Function} */
|
||||
System.Cycle.Trigger.height;
|
17
botanjs/src/externs/System.Cycle.js
Normal file
17
botanjs/src/externs/System.Cycle.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/** @constructor */
|
||||
System.Cycle = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
System.Cycle.next;
|
||||
|
||||
/** @type {Function} */
|
||||
System.Cycle.delay;
|
||||
|
||||
/** @type {Function} */
|
||||
System.Cycle.perma;
|
||||
|
||||
/** @type {Function} */
|
||||
System.Cycle.permaRemove;
|
||||
|
||||
/** @type {System.Tick} */
|
||||
System.Cycle.TICK;
|
8
botanjs/src/externs/System.Debug.js
Normal file
8
botanjs/src/externs/System.Debug.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/** @constructor */
|
||||
System.Debug = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
System.Debug.Info;
|
||||
|
||||
/** @type {Function} */
|
||||
System.Debug.Error;
|
8
botanjs/src/externs/System.Global.js
Normal file
8
botanjs/src/externs/System.Global.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/** @constructor */
|
||||
System.Global = function (){}
|
||||
|
||||
/** @type {Boolean} */
|
||||
System.Global.debug;
|
||||
|
||||
/** @type {Boolean} */
|
||||
System.Global.IE;
|
16
botanjs/src/externs/System.Log.js
Normal file
16
botanjs/src/externs/System.Log.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/** @constructor */
|
||||
System.Log = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
System.Log.writeLine;
|
||||
/** @type {Function} */
|
||||
System.Log.registerHandler;
|
||||
/** @type {Function} */
|
||||
System.Log.removeHandler;
|
||||
|
||||
/** @type {const} */
|
||||
System.Log.ERROR;
|
||||
/** @type {const} */
|
||||
System.Log.INFO;
|
||||
/** @type {const} */
|
||||
System.Log.SYSTEM;
|
11
botanjs/src/externs/System.Net.js
Normal file
11
botanjs/src/externs/System.Net.js
Normal file
@@ -0,0 +1,11 @@
|
||||
/** @constructor */
|
||||
System.Net = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
System.Net.getData;
|
||||
|
||||
/** @type {Function} */
|
||||
System.Net.postFile;
|
||||
|
||||
/** @type {Function} */
|
||||
System.Net.postData;
|
5
botanjs/src/externs/System.Policy.js
Normal file
5
botanjs/src/externs/System.Policy.js
Normal file
@@ -0,0 +1,5 @@
|
||||
/** @constructor */
|
||||
System.Policy = function (){};
|
||||
|
||||
/** @type {Function} */
|
||||
System.Policy.isOriginAllowed;
|
13
botanjs/src/externs/System.Tick.js
Normal file
13
botanjs/src/externs/System.Tick.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/** @constructor */
|
||||
System.Tick = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
System.Tick.prototype.putStepper;
|
||||
|
||||
/** @type {Function} */
|
||||
System.Tick.prototype.start;
|
||||
/** @type {Function} */
|
||||
System.Tick.prototype.stop;
|
||||
|
||||
/** @type {Array} */
|
||||
System.Tick.prototype.steppers;
|
2
botanjs/src/externs/System.js
Normal file
2
botanjs/src/externs/System.js
Normal file
@@ -0,0 +1,2 @@
|
||||
/** @constructor */
|
||||
var System = function (){}
|
4
botanjs/src/externs/System.utils.DataKey.js
Normal file
4
botanjs/src/externs/System.utils.DataKey.js
Normal file
@@ -0,0 +1,4 @@
|
||||
/** @constructor
|
||||
* @extends {System.utils.IKey}
|
||||
*/
|
||||
System.utils.DataKey = function (){}
|
10
botanjs/src/externs/System.utils.EventKey.js
Normal file
10
botanjs/src/externs/System.utils.EventKey.js
Normal file
@@ -0,0 +1,10 @@
|
||||
/** @constructor
|
||||
* @extends {System.utils.IKey}
|
||||
*/
|
||||
System.utils.EventKey = function (){};
|
||||
|
||||
/** @type {String} */
|
||||
System.utils.EventKey.type;
|
||||
|
||||
/** @type {Function} */
|
||||
System.utils.EventKey.handler;
|
11
botanjs/src/externs/System.utils.IKey.js
Normal file
11
botanjs/src/externs/System.utils.IKey.js
Normal file
@@ -0,0 +1,11 @@
|
||||
/** @constructor */
|
||||
System.utils.IKey = function (){}
|
||||
|
||||
/** @type {string} */
|
||||
System.utils.IKey.keyName;
|
||||
|
||||
/** @type {object} */
|
||||
System.utils.IKey.keyValue;
|
||||
|
||||
/** @type {Function} */
|
||||
System.utils.IKey.quickDef;
|
8
botanjs/src/externs/System.utils.Perf.js
Normal file
8
botanjs/src/externs/System.utils.Perf.js
Normal file
@@ -0,0 +1,8 @@
|
||||
/** @constructor */
|
||||
System.utils.Perf = function (){}
|
||||
|
||||
/** @type {String} */
|
||||
System.utils.Perf.uuid;
|
||||
|
||||
/** @type {Function} */
|
||||
System.utils.Perf.ArrayReverse;
|
9
botanjs/src/externs/System.utils.js
Normal file
9
botanjs/src/externs/System.utils.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/** @constructor */
|
||||
System.utils = function (){}
|
||||
|
||||
/** @type {Function} */
|
||||
System.utils.objGetProp;
|
||||
/** @type {Function} */
|
||||
System.utils.objSearch;
|
||||
/** @type {Function} */
|
||||
System.utils.objMap;
|
Reference in New Issue
Block a user