padolsey / operative

:dog2: Seamlessly create Web Workers
MIT License
656 stars 45 forks source link

Accept function directly, without an object proxy #2

Closed darsain closed 11 years ago

darsain commented 11 years ago

This:

var method = operative(function () {
  // stuff
});

If I want just a single worker, seems redundant to namespace it inside an object.

If this is already supported, I call a MORPH ability on this issue to be transformed into: 'Make better docs' :)

padolsey commented 11 years ago

Nice idea!

padolsey commented 11 years ago

Added.