Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add .mixin -> .mixins alias

  • Loading branch information...
commit 46b7402510a3fc6e82d7e1b2df8db566e2d5751a 1 parent db69c3e
TJ Holowaychuk tj authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  lib/plugins/mixin.js
  2. +1 −1  lib/rework.js
1  lib/plugins/mixin.js
View
@@ -10,6 +10,7 @@ var utils = require('../utils');
*/
module.exports = function(mixins) {
+ if (!mixins) throw new Error('mixins object required');
return function(style, rework){
style.rules.forEach(function(rule){
if (!rule.declarations) return;
2  lib/rework.js
View
@@ -79,7 +79,7 @@ Rework.prototype.toString = function(options){
*/
exports.media = require('./plugins/media');
-exports.mixin = require('./plugins/mixin');
+exports.mixin = exports.mixins = require('./plugins/mixin');
exports.prefix = require('./plugins/prefix');
exports.colors = require('./plugins/colors');
exports.extend = require('./plugins/extend');
Please sign in to comment.
Something went wrong with that request. Please try again.