vrld/hump — pull request #10 by jesstelford (2012-12-16 10:13:46+00:00)
Title: Add Permanent emit parameters to signals.

Extend the Hump signal's code to allow setting of variables to be emmitted
as methods are registered. This allows us (amongst other, general uses) to
use class methods as callbacks like so:

local foo = {
name = 'bob'
}
function foo:saySomething(greeting)
print(greeting .. self.name)
end

Signals.register('greeting', foo.saySomething, foo)

Signals.emit('greeting', 'Hello ')

Which will print 'Hello bob' correctly.