mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
Added draft code for handling "require []"
This commit is contained in:
parent
d9865e3a46
commit
43c669e629
8 changed files with 36 additions and 9 deletions
|
|
@ -15,9 +15,10 @@ class Ereject extends Grammar.Command
|
|||
{
|
||||
super('ereject');
|
||||
this._reason = new Grammar.QuotedString;
|
||||
// this.require = 'ereject';
|
||||
}
|
||||
|
||||
get require() { return 'ereject'; }
|
||||
|
||||
toString()
|
||||
{
|
||||
return 'ereject ' + this._reason + ';';
|
||||
|
|
@ -50,9 +51,10 @@ class Reject extends Grammar.Command
|
|||
{
|
||||
super('reject');
|
||||
this._reason = new Grammar.QuotedString;
|
||||
// this.require = 'reject';
|
||||
}
|
||||
|
||||
get require() { return 'reject'; }
|
||||
|
||||
toString()
|
||||
{
|
||||
return 'reject ' + this._reason + ';';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue