mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
first-commit
This commit is contained in:
commit
325c322a27
207 changed files with 35989 additions and 0 deletions
18
doc/jsdoc-toolkit/app/lib/JSDOC/Token.js
Normal file
18
doc/jsdoc-toolkit/app/lib/JSDOC/Token.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
if (typeof JSDOC == "undefined") JSDOC = {};
|
||||
|
||||
/**
|
||||
@constructor
|
||||
*/
|
||||
JSDOC.Token = function(data, type, name) {
|
||||
this.data = data;
|
||||
this.type = type;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
JSDOC.Token.prototype.toString = function() {
|
||||
return "<"+this.type+" name=\""+this.name+"\">"+this.data+"</"+this.type+">";
|
||||
}
|
||||
|
||||
JSDOC.Token.prototype.is = function(what) {
|
||||
return this.name === what || this.type === what;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue