Add command after first argument

This forces the object to be interpreted as the
second argument to the callWorkerMethod function
instead of as the first argument to function returned
from callWorkerMethod.

Closes #338
This commit is contained in:
Kevin Sawicki 2013-03-03 11:07:50 -08:00
parent 32d57892a2
commit 7952dfc196

View File

@ -24,7 +24,7 @@ class Task
error: -> console.error(arguments...)
startWorker: ->
@callWorkerMethod 'start'
@callWorkerMethod 'start',
globals:
resourcePath: window.resourcePath
navigator: