diff --git a/History.md b/History.md index c3ed056..9f12287 100644 --- a/History.md +++ b/History.md @@ -1,9 +1,7 @@ -Next Release +1.1.0 / 2015-05-04 ================== - * Fix order of inlined style properties. Now sorted by selector - specificity, resulting in the same computed styles that the original - CSS would have had. + * Fix order of inlined style properties. Now sorted by selector specificity, resulting in the same computed styles that the original CSS would have had. * Add option to inline pseudo elements as elements 1.0.2 / 2015-04-27 diff --git a/README.md b/README.md index 43a9084..45ed335 100644 --- a/README.md +++ b/README.md @@ -50,8 +50,8 @@ All juice methods take an options object that can contain any of these propertie * `preserveMediaQueries` - preserves all media queries (and contained styles) within `` tags as a refinement when `removeStyleTags` is `true`. Other styles are removed. Defaults to `false`. * `applyWidthAttributes` - whether to use any CSS pixel widths to create `width` attributes on elements set in `juice.widthElements`. Defaults to `false`. * `applyAttributesTableElements` - whether to create attributes for styles in `juice.styleToAttribute` on elements set in `juice.tableElements`. Defaults to `false`. - * `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 `{}`. - * `inlinePseudoElements` - Whether to insert pseudo elements (`::before` and `::after`) as `` 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`). + * `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 `{}`. + * `inlinePseudoElements` - Whether to insert pseudo elements (`::before` and `::after`) as `` 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`). ### Methods diff --git a/package.json b/package.json index e4429d7..4ac49a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "juice", - "version": "1.0.2", + "version": "1.1.0", "description": "Inlines css into html source", "bin": "./bin/juice", "scripts": {