postcss-plugin-weex
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -30,3 +30,3 @@ const postcss = require('postcss') | ||
for (let i = 0, l = cssRules.length; i < l; i++) { | ||
rule.parent.insertAfter(rule, cssRules[i]) | ||
parent.insertAfter(rule, cssRules[i]) | ||
} | ||
@@ -33,0 +33,0 @@ } |
@@ -14,2 +14,5 @@ const postcss = require('postcss') | ||
const styleObj = hooks[prop](value, { root, rule, decl }) | ||
if (!styleObj) { | ||
return | ||
} | ||
for (const k in styleObj) { | ||
@@ -23,3 +26,3 @@ appendDecls.push(postcss.decl({ | ||
}) | ||
// rule.append.apply(rule, appendDecls) | ||
rule.append.apply(rule, appendDecls) | ||
}) | ||
@@ -26,0 +29,0 @@ } |
{ | ||
"name": "postcss-plugin-weex", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "postcss plugin for weex-vue-render.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
4822
112