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.

fontStyle.js 391B

123456789101112131415161718
  1. 'use strict';
  2. var valid_styles = ['normal', 'italic', 'oblique', 'inherit'];
  3. module.exports.isValid = function(v) {
  4. return valid_styles.indexOf(v.toLowerCase()) !== -1;
  5. };
  6. module.exports.definition = {
  7. set: function(v) {
  8. this._setProperty('font-style', v);
  9. },
  10. get: function() {
  11. return this.getPropertyValue('font-style');
  12. },
  13. enumerable: true,
  14. configurable: true,
  15. };