j4k / css-redundancy-checker Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/css-redundancy-checker
Automatically exported from code.google.com/p/css-redundancy-checker
What steps will reproduce the problem?
1. Attempt to run the following command:
ruby css-redundancy-checker.rb <url_of_css_file> <url_of_.txt_file>
2. See that it doesn't know what the heck you're talking about
What is the expected output?
A successful redundancy check using the CSS file and text file downloaded
from the given URLs.
What version of the product are you using? On what operating system?
Version downloaded 5/20/2009 @ 1730 Pacific via instructions at
http://code.google.com/p/css-redundancy-checker/
Please provide any additional information below.
Thank you very much.
Original issue reported on code.google.com by [email protected]
on 21 May 2009 at 12:43
I've tried running it on CentOS Linux under Ruby 1.8.4 and Mac OS 10.4
under Ruby 1.8.4 and I get the same error in both cases:
"/hpricot/builder.rb:11: warning: `&' interpreted as argument prefix"
This is using revision 9 from subversion.
Original issue reported on code.google.com by [email protected]
on 5 Nov 2007 at 8:24
Checking out trunk, css-redundancy-checker.rb is currently misspelled
css-redunancy-checker.rb.
;)
Original issue reported on code.google.com by [email protected]
on 8 Jul 2007 at 9:09
What steps will reproduce the problem?
1. Create a CSS rule "p.foo,p.bar".
2. Parse that file using css-redundancy-checker.
3.
What is the expected output? What do you see instead?
"p.foo,p.bar" gets treated as a single selector.
What version of the product are you using? On what operating system?
r9 from svn.
Please provide any additional information below.
The fix is to use this line instead:
content.gsub!(/\s*,\s*/, "\r\n")
Original issue reported on code.google.com by [email protected]
on 28 Aug 2007 at 10:47
What steps will reproduce the problem?
1. mkdir ~/foo; cp foo.html ~/foo
2. css-redundancy-checker some.css ~/foo
3.
What is the expected output? What do you see instead?
Nada.
What version of the product are you using? On what operating system?
r9 from trunk
Please provide any additional information below.
The bit that runs over directories needs to look like this:
things = Dir["#{source}/*.html"]
Original issue reported on code.google.com by [email protected]
on 28 Aug 2007 at 10:48
What steps will reproduce the problem?
1. Don't have rubygems installed (I've installed hpricot from debian packages)
2. run the script
3. Get error message "3:in `require': no such file to load -- rubygems
(LoadError)"
I've removed the require line and it now works fine.
Original issue reported on code.google.com by [email protected]
on 28 Apr 2010 at 10:15
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.