Last change
on this file since 31525 was 31525, checked in by ak19, 7 years ago |
Nathan provided more stuff: Themes folder contains Sencha's Themebuilder which generates GXT Themes. It includes the .theme and generated .jar files for the project theme.
|
File size:
655 bytes
|
Rev | Line | |
---|
[31525] | 1 | feature = undefined
|
---|
| 2 | supported = []
|
---|
| 3 | unsupported = []
|
---|
| 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"
|
---|
| 9 | if Modernizr[feature]
|
---|
| 10 | supported.push feature
|
---|
| 11 | else
|
---|
| 12 | unsupported.push feature
|
---|
| 13 | console.log ""
|
---|
| 14 | console.log "Supported:"
|
---|
| 15 | supported.forEach (e) ->
|
---|
| 16 | console.log " " + e
|
---|
| 17 |
|
---|
| 18 | console.log ""
|
---|
| 19 | console.log "Not supported:"
|
---|
| 20 | unsupported.forEach (e) ->
|
---|
| 21 | console.log " " + e
|
---|
| 22 |
|
---|
| 23 | phantom.exit() |
---|
Note:
See
TracBrowser
for help on using the repository browser.