Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. var BrowserslistError = require('./error')
  2. function noop () { }
  3. module.exports = {
  4. loadQueries: function loadQueries () {
  5. throw new BrowserslistError(
  6. 'Sharable configs are not supported in client-side build of Browserslist')
  7. },
  8. getStat: function getStat (opts) {
  9. return opts.stats
  10. },
  11. loadConfig: function loadConfig (opts) {
  12. if (opts.config) {
  13. throw new BrowserslistError(
  14. 'Browserslist config are not supported in client-side build')
  15. }
  16. },
  17. loadCountry: function loadCountry () {
  18. throw new BrowserslistError(
  19. 'Country statistics are not supported ' +
  20. 'in client-side build of Browserslist')
  21. },
  22. loadFeature: function loadFeature () {
  23. throw new BrowserslistError(
  24. 'Supports queries are not available in client-side build of Browserslist')
  25. },
  26. currentNode: function currentNode (resolve, context) {
  27. return resolve(['maintained node versions'], context)[0]
  28. },
  29. parseConfig: noop,
  30. readConfig: noop,
  31. findConfig: noop,
  32. clearCaches: noop,
  33. oldDataWarning: noop
  34. }