Permalink
Browse files

0.0.7, optional sqwish strict due to bug with media queries

  • Loading branch information...
masylum committed Aug 28, 2011
1 parent f09692b commit a127b82e3f31b8682d3302577f0c3932cec03899
Showing with 5 additions and 3 deletions.
  1. +4 −2 lib/asereje.js
  2. +1 −1 package.json
View
@@ -2,7 +2,9 @@ var _cache = {}
, ASEREJE = {}
, _settings = { active: true
, js_globals: []
- , css_globals: [] }
+ , css_globals: []
+ , sqwish_strict: true
+ }
, uglify = require('uglify-js')
, sqwish = require('sqwish')
, _ = require('underscore')
@@ -39,7 +41,7 @@ function _get(type, global_files, files) {
});
if (type === 'css') {
- minified = sqwish.minify(bundled, true);
+ minified = sqwish.minify(bundled, _settings.sqwish_strict);
} else if (type === 'js') {
(function () {
var jsp = uglify.parser
View
@@ -1,7 +1,7 @@
{
"name": "asereje",
"description": "Asereje is a library that builds your assets on demand",
- "version": "0.0.6",
+ "version": "0.0.7",
"author": "Pau Ramon <masylum@gmail.com>",
"keywords": ["build", "assets", "css", "javascript"],
"main": "./index",

0 comments on commit a127b82

Please sign in to comment.