diff options
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/features.coffee')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/features.coffee | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/features.coffee b/vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/features.coffee deleted file mode 100644 index 829beeb4..00000000 --- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/phantomjs/lib/phantom/examples/features.coffee +++ /dev/null @@ -1,23 +0,0 @@ -feature = undefined -supported = [] -unsupported = [] -phantom.injectJs "modernizr.js" -console.log "Detected features (using Modernizr " + Modernizr._version + "):" -for feature of Modernizr - if Modernizr.hasOwnProperty(feature) - if feature[0] isnt "_" and typeof Modernizr[feature] isnt "function" and feature isnt "input" and feature isnt "inputtypes" - if Modernizr[feature] - supported.push feature - else - unsupported.push feature -console.log "" -console.log "Supported:" -supported.forEach (e) -> - console.log " " + e - -console.log "" -console.log "Not supported:" -unsupported.forEach (e) -> - console.log " " + e - -phantom.exit()
\ No newline at end of file |