mirror of
https://github.com/danog/inline-critical.git
synced 2025-01-22 13:52:54 +01:00
bump xo
This commit is contained in:
parent
2a352b9499
commit
64a176f7b7
2
index.js
2
index.js
@ -119,7 +119,7 @@ module.exports = function (html, styles, options) {
|
||||
'</style>', ''
|
||||
].join('\n' + targetIndent).replace(/(\r\n|\r|\n)[\s\t]+(\r\n|\r|\n)/g, '$1$2'));
|
||||
|
||||
if (links.length) {
|
||||
if (links.length > 0) {
|
||||
// modify links and ad clones to noscript block
|
||||
$(links).each(function (idx, el) {
|
||||
if (o.extract && !o.basePath) {
|
||||
|
@ -50,7 +50,7 @@
|
||||
"mocha": "3.1.2",
|
||||
"mockery": "1.7.0",
|
||||
"read-package-json": "2.0.4",
|
||||
"xo": "0.16.0"
|
||||
"xo": "0.17.0"
|
||||
},
|
||||
"xo": {
|
||||
"space": 4,
|
||||
|
Loading…
x
Reference in New Issue
Block a user