Initial commit

This commit is contained in:
2015-08-14 18:12:10 +08:00
parent f19f612fad
commit 4c93896df3
93 changed files with 4724 additions and 0 deletions

View 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;

View 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;

View File

@@ -0,0 +1,7 @@
/** @constructor */
Components.MessageBox = function() {};
/** @type {Function} */
Components.MessageBox.setHandler;
/** @type {Function} */
Components.MessageBox.show;

View File

@@ -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;

View 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;

View File

@@ -0,0 +1,2 @@
/** @constructor */
Components.Mouse.ContextMenu = function() {};

View File

@@ -0,0 +1,2 @@
/** @constructor */
Components.Mouse = function() {};

View File

@@ -0,0 +1,2 @@
/** @constructor */
var Components = function() {};

View 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;

View File

@@ -0,0 +1,2 @@
/** @constructor */
Dandelion.CSSAnimations = function (){};

View 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;

View 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;

View File

@@ -0,0 +1,5 @@
/** @constructor */
Dandelion.Swf.ExtAPI = function (){}
/** @type {Function} */
Dandelion.Swf.ExtAPI.ready;

View File

@@ -0,0 +1,7 @@
/** @constructor */
Dandelion.Swf = function (){}
/** @type {Function} */
Dandelion.Swf.create;
/** @type {Function} */
Dandelion.Swf.realize;

View 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;

View 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;

View 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;

View File

@@ -0,0 +1,8 @@
/** @constructor */
System.Debug = function (){}
/** @type {Function} */
System.Debug.Info;
/** @type {Function} */
System.Debug.Error;

View File

@@ -0,0 +1,8 @@
/** @constructor */
System.Global = function (){}
/** @type {Boolean} */
System.Global.debug;
/** @type {Boolean} */
System.Global.IE;

View 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;

View File

@@ -0,0 +1,11 @@
/** @constructor */
System.Net = function (){}
/** @type {Function} */
System.Net.getData;
/** @type {Function} */
System.Net.postFile;
/** @type {Function} */
System.Net.postData;

View File

@@ -0,0 +1,5 @@
/** @constructor */
System.Policy = function (){};
/** @type {Function} */
System.Policy.isOriginAllowed;

View 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;

View File

@@ -0,0 +1,2 @@
/** @constructor */
var System = function (){}

View File

@@ -0,0 +1,4 @@
/** @constructor
* @extends {System.utils.IKey}
*/
System.utils.DataKey = function (){}

View 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;

View 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;

View File

@@ -0,0 +1,8 @@
/** @constructor */
System.utils.Perf = function (){}
/** @type {String} */
System.utils.Perf.uuid;
/** @type {Function} */
System.utils.Perf.ArrayReverse;

View File

@@ -0,0 +1,9 @@
/** @constructor */
System.utils = function (){}
/** @type {Function} */
System.utils.objGetProp;
/** @type {Function} */
System.utils.objSearch;
/** @type {Function} */
System.utils.objMap;