Skip to content

Commit 9fec71f

Browse files
committed
Merge pull request postcss#14 from avanes/master
Update to postcss 5.0
2 parents 58b78d7 + d89d2a7 commit 9fec71f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var helpers = require("postcss-message-helpers")
1111
*/
1212
module.exports = postcss.plugin("postcss-color-function", function() {
1313
return function(style) {
14-
style.eachDecl(function transformDecl(decl) {
14+
style.walkDecls(function transformDecl(decl) {
1515
if (!decl.value || decl.value.indexOf("color(") === -1) {
1616
return
1717
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"dependencies": {
2525
"balanced-match": "^0.1.0",
2626
"css-color-function": "^1.2.0",
27-
"postcss": "^4.1.11",
28-
"postcss-message-helpers": "^1.1.0"
27+
"postcss": "^5.0.4",
28+
"postcss-message-helpers": "^2.0.0"
2929
},
3030
"devDependencies": {
3131
"jscs": "^1.6.2",

0 commit comments

Comments
 (0)