davidedc/livecodelab — pull request #103 by rumblesan (2012-11-23 11:05:58+00:00)
Title: Eval changes

Replaced the call to window.eval with a function object creation

instead of wrapping the coffee script in a ```draw ->``` function and then evaling the compiled string, the compiled code is passed into a ```new Function``` object. This is then assigned to the draw variable.