Commit 3734f09bcf0c150f93dc4e556b99bab42b27be3a
fix mcss I broke during merge, add mcss bug-catcher!
mix irving committed on 8/18/2017, 5:02:43 AMParent: 5ab138f415f014e52c4f2489a0807515aa58340e
Files changed
app/html/nav.mcss | deleted |
styles/css.js | changed |
styles/mixins.js | changed |
app/html/nav.mcss |
---|
styles/css.js | ||
---|---|---|
@@ -36,7 +36,11 @@ | ||
36 | 36 | } |
37 | 37 | |
38 | 38 | function mcssToCss (mcssObj, mixinsStr) { |
39 | 39 | return map(mcssObj, (mcssStr, [name]) => { |
40 | - return compile(mixinsStr + '\n' + mcssStr) | |
40 | + const newCss = compile(mixinsStr + '\n' + mcssStr) | |
41 | + if (newCss == '') { | |
42 | + console.error('Some broken mcss!', { name, mcssStr, mixinsStr }) | |
43 | + } | |
44 | + return newCss | |
41 | 45 | }) |
42 | 46 | } |
Built with git-ssb-web