Permalink
Browse files

mixins

  • Loading branch information...
1 parent 221bf81 commit 9538455a79f1c6a61105bd91f85df9e28469d397 @aeosynth committed Feb 6, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 ccss.coffee
View
@@ -8,6 +8,11 @@ fs = require 'fs'
declarations = ''
nested = {}
+ if mixin = pairs.mixin
+ delete pairs.mixin
+ for key, value of mixin
+ pairs[key] = value
+
for key, value of pairs
if typeof value is 'object'
nested["#{selector} #{key}"] = value

0 comments on commit 9538455

Please sign in to comment.