Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixes test suite and is backwards compatible #3

Open
wants to merge 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 15, 2012
  1. @au-phiware
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 ports/js/cssmin.js
View
4 ports/js/cssmin.js
@@ -184,8 +184,8 @@ if ( typeof module === "object" && typeof exports === "object" && module.exports
exports.cssmin = cssmin;
}
-//web browser
-else if ( typeof window === "object" ) {
+//web browser and rhino
+else {
if ( typeof YAHOO !== "object" ) {
YAHOO = { compressor: { cssmin:cssmin } };
}
Something went wrong with that request. Please try again.