aanand / deadweight

NOT MAINTAINED
MIT License
1.19k stars 52 forks source link

Result list not a list #2

Closed maxgrafex closed 15 years ago

maxgrafex commented 15 years ago

Having trouble getting the result list to show as a list. Matched elements show up correctly, but when displaying the unused selectors, it displays all as 1 item strung together, plus it is showing the name of the element, and parts of the attributes - (for instance span.a might display as span.acolor: #000..... and so on) See http://pastie.org/651957 for a clip of the output I'm getting. Any ideas?

aanand commented 15 years ago

How are you outputting the result of Deadweight#run? With a puts? Or are you using the command-line executable?

aanand commented 15 years ago

Never mind - my fault, let a commit through without properly testing it. Fixed in 0.1.1.