eleith/emailjs — pull request #86 by VoidVolker (2013-12-26 16:54:22+00:00)
Title: [=] Fixed bug incorrect check 'object is array?'

1. `( [] ).constructor == Array` is `false` in node-webkit.
Correct variant is:

Object.prototype.toString.call(headers[header]) == '[object Array]'

2. Optimization of attachments array iterator.