 
 # Resolution Media Queries
 resolution = require('caniuse-db/features-json/css-media-resolution')
+
 feature resolution, match: /( x($| )|a #3)/, (browsers) ->
   prefix '@resolution',
           browsers: browsers

    else
      parseFloat(a[1]) - parseFloat(b[1])

  callback(sorted)

# Select only special browsers
map = (browsers, callback) ->

          browsers: browsers

# Flexible Box Layout
flexbox = require('caniuse-db/features-json/flexbox')

feature flexbox, match: /a\sx/, (browsers) ->
  browsers = browsers.map (i) -> if /ie|firefox/.test(i) then i else "#{i} 2009"
  prefix 'display-flex', 'inline-flex',
          props:  ['display']
          browsers: browsers
  prefix 'flex', 'flex-grow', 'flex-shrink', 'flex-basis',
          transition: true
          browsers:   browsers
  prefix 'flex-direction', 'flex-wrap', 'flex-flow', 'justify-content',
         'order', 'align-items', 'align-self', 'align-content',
          browsers: browsers

feature flexbox, match: /y\sx/, (browsers) ->
  prefix 'display-flex', 'inline-flex',
          props:  ['display']
          browsers: browsers
  prefix 'flex', 'flex-grow', 'flex-shrink', 'flex-basis',
          transition: true
          browsers:   browsers
  prefix 'flex-direction', 'flex-wrap', 'flex-flow', 'justify-content',
         'order', 'align-items', 'align-self', 'align-content',
          browsers: browsers

require('fs').writeFileSync('2', result.flex.browsers.join('\n'))

# calc() unit
feature require('caniuse-db/features-json/calc'), (browsers) ->
