Skip to content

Commit 05ab3af

Browse files
committed
Merge pull request #120 from jrit/cheerio-node-12
v1.1.0 release updates
2 parents c59601d + 54efc66 commit 05ab3af

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

History.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
Next Release
1+
1.1.0 / 2015-05-04
22
==================
33

4-
* Fix order of inlined style properties. Now sorted by selector
5-
specificity, resulting in the same computed styles that the original
6-
CSS would have had.
4+
* Fix order of inlined style properties. Now sorted by selector specificity, resulting in the same computed styles that the original CSS would have had.
75
* Add option to inline pseudo elements as <span> elements
86

97
1.0.2 / 2015-04-27

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ All juice methods take an options object that can contain any of these propertie
5050
* `preserveMediaQueries` - preserves all media queries (and contained styles) within `<style></style>` tags as a refinement when `removeStyleTags` is `true`. Other styles are removed. Defaults to `false`.
5151
* `applyWidthAttributes` - whether to use any CSS pixel widths to create `width` attributes on elements set in `juice.widthElements`. Defaults to `false`.
5252
* `applyAttributesTableElements` - whether to create attributes for styles in `juice.styleToAttribute` on elements set in `juice.tableElements`. Defaults to `false`.
53-
* `webResources` - An options object that will be passed through to web-resource-inliner for juice functions that will get remote resources (`juiceResources` and `juiceFile`). Defaults to `{}`.
54-
* `inlinePseudoElements` - Whether to insert pseudo elements (`::before` and `::after`) as `<span>` into the dom. *Note*: Inserting pseudo elements will modify the dom and may conflict with css selectors elsewhere on the page (e.g., `:last-child`).
53+
* `webResources` - An options object that will be passed to [web-resource-inliner](https://www.npmjs.com/package/web-resource-inliner) for juice functions that will get remote resources (`juiceResources` and `juiceFile`). Defaults to `{}`.
54+
* `inlinePseudoElements` - Whether to insert pseudo elements (`::before` and `::after`) as `<span>` into the DOM. *Note*: Inserting pseudo elements will modify the DOM and may conflict with CSS selectors elsewhere on the page (e.g., `:last-child`).
5555

5656
### Methods
5757

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "juice",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"description": "Inlines css into html source",
55
"bin": "./bin/juice",
66
"scripts": {

0 commit comments

Comments
 (0)