Global.Mail.prototype.queue () |
extend the Mail prototype with a method
that simply adds a mail object to an
application-wide array (mail queue). |
Sourcecode in Global/objectFunctions.js:
1: Mail.prototype.queue = function() { 2: app.data.mailQueue.push(this); 3: return; 4: } |