mauricemach/coffeekup — Issue #99: unused tags research
Author: pgherveou
Created: 2011-11-16 10:42:55+00:00
State: open

Hello
When looking for unused tag to strip them out from the template function, coffeekup look for a match of the tag
wouldn't it be more accurate to look for a function call tagname + "(" ?
what do you think ?

```javascript
301 ...
for t in coffeekup.tags
call = t + "("
if template.indexOf(call) > -1 or hardcoded_locals.indexOf(call) > -1
tags_used.push t

```