Open benekastah opened 13 years ago
Can you give an example ?
On Tue, Jun 21, 2011 at 4:31 AM, benekastah < reply@reply.github.com>wrote:
Async function calls don't respect functions accessed from an object with the bracket syntax.
Reply to this email directly or view it on GitHub: https://github.com/weepy/kaffeine/issues/34
The code
method = :get
server[method]! route
doStuff()
generates an error. I would expect it to do this:
method = 'get'
server[method](route, function() {
doStuff()
})
Async function calls don't respect functions accessed from an object with the bracket syntax. The specific error is:
Error: Unexpected token: operator (!)