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

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
crossjs committed Mar 31, 2017
1 parent e3d305f commit e07f942
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = postcss.plugin('postcss-flexible', function (options) {
}
return prefix + ' ' + selector
}
var dprList = options.dprList.sort().reverse() || [3, 2, 1]
var dprList = (options.dprList || [3, 2, 1]).sort().reverse()

// get calculated value of px or rem
function getCalcValue (value, dpr) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "postcss-flexible",
"version": "0.4.0",
"version": "0.4.1",
"description": "flexible transformer for flexible",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit e07f942

Please sign in to comment.