Comparing version 0.0.28 to 0.0.29
@@ -29,3 +29,3 @@ module.exports = function(API) { | ||
// check for media query | ||
} else if(prop.indexOf("@media") === 0) { | ||
} else if(prop.indexOf("@media") === 0 || prop.indexOf("@supports") === 0) { | ||
addRule(selector, props[prop], prop); | ||
@@ -32,0 +32,0 @@ // check for plugins |
{ | ||
"name": "absurd", | ||
"version": "0.0.28", | ||
"version": "0.0.29", | ||
"homepage": "https://github.com/krasimir/absurd", | ||
@@ -5,0 +5,0 @@ "description": "CSS preprocessor", |
@@ -1,6 +0,6 @@ | ||
describe("Test case (media)", function() { | ||
describe("Test case (namespace)", function() { | ||
var Absurd = require('../../../index.js'); | ||
it("media / js", function(done) { | ||
it("namespace / js", function(done) { | ||
Absurd(__dirname + '/code.js').compile(function(err, css) { | ||
@@ -14,3 +14,3 @@ expect(err).toBe(null); | ||
it("media / json", function(done) { | ||
it("namespace / json", function(done) { | ||
Absurd(__dirname + '/code.json').compile(function(err, css) { | ||
@@ -24,3 +24,3 @@ expect(err).toBe(null); | ||
it("media / css", function(done) { | ||
it("namespace / css", function(done) { | ||
Absurd(__dirname + '/code.css').compile(function(err, css) { | ||
@@ -27,0 +27,0 @@ expect(err).toBe(null); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64476
93
1759
12