codesurgeon
codesurgeon copied to clipboard
codesurgeon fails to extract variables
Hi,
I'm using codesurgeon to extract code from files, but it fails to extra variables that are not prefixed with a var statement.
Example
var foo = 'bar'
, bar = 'foo';
Codesurgeon cannot extract the bar var above, unless the code is written as:
var foo = 'bar';
var bar = 'foo';
ah interesting. ok looking at this now.
doing a bit of a refactor. much simpler. should be done pretty quick.
awesome, thanks :-)
ok, turned into a larger refactor than i thought, but awesome new features, non breaking.