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.

CSSValue.js 887B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //.CommonJS
  2. var CSSOM = {};
  3. ///CommonJS
  4. /**
  5. * @constructor
  6. * @see http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue
  7. *
  8. * TODO: add if needed
  9. */
  10. CSSOM.CSSValue = function CSSValue() {
  11. };
  12. CSSOM.CSSValue.prototype = {
  13. constructor: CSSOM.CSSValue,
  14. // @see: http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSValue
  15. set cssText(text) {
  16. var name = this._getConstructorName();
  17. throw new Error('DOMException: property "cssText" of "' + name + '" is readonly and can not be replaced with "' + text + '"!');
  18. },
  19. get cssText() {
  20. var name = this._getConstructorName();
  21. throw new Error('getter "cssText" of "' + name + '" is not implemented!');
  22. },
  23. _getConstructorName: function() {
  24. var s = this.constructor.toString(),
  25. c = s.match(/function\s([^\(]+)/),
  26. name = c[1];
  27. return name;
  28. }
  29. };
  30. //.CommonJS
  31. exports.CSSValue = CSSOM.CSSValue;
  32. ///CommonJS