corinnekrych/tagmyfriends — pull request #1 by mathbruyen (2012-11-06 12:35:19+00:00)
Title: Remove eval

Hi,

8e92071 actually removes the eval
* notice the usage of [Array.forEach](https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/forEach) with browser compatibility IE9+ (see [jQuery.each](http://api.jquery.com/jQuery.each/))
* the root is always taken from `window`, which may not be fully compliant with the original code (eval executes on the local scope)

dc6f8ed reduces called overhead by returning a bound function:
* notice the usage of [Function.bind](https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Function/bind) with browser compatibility quite restricted
* notice the usage of `typeof` on function with browser compatibility IE7+ (see [jQuery.isFunction](http://api.jquery.com/jQuery.isFunction/))

If you need to target older browser it would be easy to change the mentioned points.