nl_tokens: _cssFromMediaObject : Convert css from a flattened mediaMap rule object . The rule object is of the form : mediaQuery = > selector = > rulesObject
pl_tokens: function _cssFromMediaObject ( mediaMap , options ) { options = _d ( options , { } ) var indent , indentRule , media , rules , selector , selectorMap , space , styles , minify = options . minify != null ? options . minify : 0 , tags = options . tags != null ? options . tags : 0 , // Deterine what output characters are needed newline = minify ? '' : '\n' , space = minify ? '' : ' ' , inline = minify , css = '' // Build css for media => selector =>  rules for ( media in mediaMap ) { selectorMap = mediaMap [ media ] ; // Serialize media query if ( media ) { media = media . replace ( / , / g , "," + <mask> ) ; css += "" + media + space + "{" + newline ; } for ( selector in selectorMap ) { styles = selectorMap [ selector ] indent = ( ! minify ) && media ? '\t' : '' // Serialize selector selector = selector . replace ( / , / g , "," + newline ) css += "" + indent + selector + space + "{" + newline // Serialize style rules indentRule = ! minify ? indent + '\t' : indent rules = _styleFromObject ( styles , { inline : inline , indent : indentRule } ) ; css += rules + indent + '}' + newline } // End media query if ( media !== '' ) css += '}' + newline } try { css = oj . _minifyCSS ( css , options ) } catch ( e ) { throw new Error ( "css minification error: " + e . message + "\nCould not minify:\n" + css ) } return css }