Comparing version 0.3.0 to 0.3.1
@@ -0,2 +1,46 @@ | ||
0.3.1 / 2013-03-26 | ||
* do not crash on ::selectors (covered by normalize.css test case) | ||
0.3.0 / 2013-03-26 | ||
* update jsdom dependency to 0.5.4 | ||
* support node v0.10 | ||
* switch dependency to slick instead of mootools which was rudely unpublished | ||
0.2.0 / 2013-02-13 | ||
* update jsdom dependency to 0.5.0 | ||
0.1.3 / 2013-02-12 | ||
* fix specificity test. all test cases passed now. | ||
* add a command line `juice` program | ||
0.1.2 / 2013-02-11 | ||
* fix incorrectly lowercasing <link> href | ||
0.1.1 / 2013-02-11 | ||
* explicitly document which node versions are supported | ||
with `engines` and travis-ci. | ||
* expose `juice.inlineDocument` and `juice.inlineContent` | ||
0.1.0 / 2013-02-07 | ||
* fix / test case for @media queries | ||
* merge [boost](https://github.com/superjoe30/boost) into juice | ||
* legacy `juice` function still works as is | ||
* add `juice(filePath, [options], callback)` | ||
* add `juice.juiceDocument(document, options, callback)` | ||
* add `juice.juiceContent(html, options, callback)` | ||
* remove `juice.juiceDom` | ||
0.0.9 / 2013-02-07 | ||
================== | ||
* update jsdom dependency to 0.4.0 | ||
* update cssom dependency to 0.2.5 | ||
0.0.8 / 2013-02-06 | ||
@@ -3,0 +47,0 @@ ================== |
@@ -84,3 +84,10 @@ | ||
utils.toArray(document.querySelectorAll(sel)).forEach(function (el) { | ||
var els; | ||
try { | ||
els = document.querySelectorAll(sel); | ||
} catch (err) { | ||
// skip invalid selector | ||
return; | ||
} | ||
utils.toArray(els).forEach(function (el) { | ||
if (!el.styleProps) { | ||
@@ -87,0 +94,0 @@ el.styleProps = {} |
{ | ||
"name": "juice", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Inlines css into html source", | ||
@@ -5,0 +5,0 @@ "bin": "./bin/juice", |
Sorry, the diff of this file is not supported yet
23526
490