Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

unused tags research #99

Open
pgherveou opened this Issue · 0 comments

1 participant

@pgherveou

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 ?

301 ...
for t in coffeekup.tags
  call = t + "("
  if template.indexOf(call) > -1 or hardcoded_locals.indexOf(call) > -1
    tags_used.push t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.