You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

browser.js 299B

1234567891011121314
  1. module.exports = colorSupport({ alwaysReturn: true }, colorSupport)
  2. function colorSupport(options, obj) {
  3. obj = obj || {}
  4. options = options || {}
  5. obj.level = 0
  6. obj.hasBasic = false
  7. obj.has256 = false
  8. obj.has16m = false
  9. if (!options.alwaysReturn) {
  10. return false
  11. }
  12. return obj
  13. }