4 phantom.injectJs "modernizr.js"
5 console.log "Detected features (using Modernizr " + Modernizr._version + "):"
6 for feature of Modernizr
7 if Modernizr.hasOwnProperty(feature)
8 if feature[0] isnt "_" and typeof Modernizr[feature] isnt "function" and feature isnt "input" and feature isnt "inputtypes"
10 supported.push feature
12 unsupported.push feature
14 console.log "Supported:"
15 supported.forEach (e) ->
19 console.log "Not supported:"
20 unsupported.forEach (e) ->