fela-plugin-lvha
Advanced tools
Comparing version 4.0.1 to 4.1.0
@@ -14,2 +14,17 @@ (function (global, factory) { | ||
babelHelpers.defineProperty = function (obj, key, value) { | ||
if (key in obj) { | ||
Object.defineProperty(obj, key, { | ||
value: value, | ||
enumerable: true, | ||
configurable: true, | ||
writable: true | ||
}); | ||
} else { | ||
obj[key] = value; | ||
} | ||
return obj; | ||
}; | ||
babelHelpers.extends = Object.assign || function (target) { | ||
@@ -16,0 +31,0 @@ for (var i = 1; i < arguments.length; i++) { |
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.FelaPluginLVHA=e()}(this,function(){"use strict";function t(t,e){var o=n[t],r=n[e];return o&&r?o<r?1:-1:0}function e(e){return Object.keys(e).sort(t).reduce(function(t,o){return t[o]=e[o],t},{})}var o={};o.typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o.extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var o=arguments[e];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(t[n]=o[n])}return t};var n={":link":4,":visited":3,":hover":2,":focus":1.5,":active":1},r=function(){return e};return r}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.FelaPluginLVHA=t()}(this,function(){"use strict";function e(e,t){var n=o[e],r=o[t];return n&&r?n<r?1:-1:0}function t(t){return Object.keys(t).sort(e).reduce(function(e,n){return e[n]=t[n],e},{})}var n={};n.typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n.defineProperty=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},n.extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};var o={":link":4,":visited":3,":hover":2,":focus":1.5,":active":1},r=function(){return t};return r}); |
{ | ||
"name": "fela-plugin-lvha", | ||
"version": "4.0.1", | ||
"version": "4.1.0", | ||
"description": "Fela plugin that sorts pseudo classes according to LVH(F)A", | ||
@@ -23,4 +23,4 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"fela": "4.0.1" | ||
"fela": "4.1.0" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # fela-plugin-lvha | ||
<img alt="npm downloads" src="https://img.shields.io/npm/dm/fela-plugin-lvha.svg"> | ||
<img alt="gzipped size" src="https://img.shields.io/badge/gzipped-0.45kb-brightgreen.svg"> | ||
<img alt="gzipped size" src="https://img.shields.io/badge/gzipped-0.50kb-brightgreen.svg"> | ||
@@ -14,9 +14,9 @@ LVHA (sometimes known as LVHFA) stands for **L**ink **V**isited **H**over (**F**ocus) **A**ctive which are actually describe pseudo classes. Within CSS their order is relevant which means we always need to sort them correctly. This plugin **does** include the `:focus` pseudo class as well. | ||
``` | ||
Assuming you are using [npm](https://www.npmjs.com) as your package mananger you can just `npm install`.<br> | ||
Assuming you are using [npm](https://www.npmjs.com) as your package manager you can just `npm install`.<br> | ||
Otherwise we also provide a [UMD](https://github.com/umdjs/umd). You can easily use it via [unpkg](https://unpkg.com/). It registers a `FelaPluginLVHA` global. | ||
```HTML | ||
<!-- Fela (Development): Unminified version including all warnings --> | ||
<script src="https://unpkg.com/fela-plugin-lvha@4.0.1/dist/fela-plugin-lvha.js"></script> | ||
<script src="https://unpkg.com/fela-plugin-lvha@4.1.0/dist/fela-plugin-lvha.js"></script> | ||
<!-- Fela (Production): Minified version --> | ||
<script src="https://unpkg.com/fela-plugin-lvha@4.0.1/dist/fela-plugin-lvha.min.js"></script> | ||
<script src="https://unpkg.com/fela-plugin-lvha@4.1.0/dist/fela-plugin-lvha.min.js"></script> | ||
``` | ||
@@ -23,0 +23,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8406
66