Skip to content
This repository was archived by the owner on Jul 31, 2019. It is now read-only.

Commit e07f942

Browse files
author
crossjs
committed
fix tests
1 parent e3d305f commit e07f942

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = postcss.plugin('postcss-flexible', function (options) {
2222
}
2323
return prefix + ' ' + selector
2424
}
25-
var dprList = options.dprList.sort().reverse() || [3, 2, 1]
25+
var dprList = (options.dprList || [3, 2, 1]).sort().reverse()
2626

2727
// get calculated value of px or rem
2828
function getCalcValue (value, dpr) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-flexible",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "flexible transformer for flexible",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)