flightjs/flight — pull request #157 by superlukas (2013-07-28 17:44:59+00:00)
Title: Change the function object constructor to a function literal to avoid CSP errors.

`new Function` triggers Content-Security-Policies without `script-src 'unsafe-eval'` in them. Even though this is [a bug in Chrome](https://code.google.com/p/chromium/issues/detail?id=265255) (haven't tested any other browsers) it could be easily avoided by using a function literal instead.