Only replace the 'fn' in the function type hint if the token that was called looks like an identifier/property. If it is an expression resulting in a function call, then just display 'fn' since we don't have a way to determine a 'name' for the called function.
Issue by eztierney Tuesday May 07, 2013 at 18:22 GMT Originally opened as https://github.com/adobe/brackets/pull/3739
Only replace the 'fn' in the function type hint if the token that was called looks like an identifier/property. If it is an expression resulting in a function call, then just display 'fn' since we don't have a way to determine a 'name' for the called function.
eztierney included the following code: https://github.com/adobe/brackets/pull/3739/commits