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.

stringifier.js 3.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. "use strict";
  2. function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
  3. var Stringifier = require('postcss/lib/stringifier');
  4. module.exports =
  5. /*#__PURE__*/
  6. function (_Stringifier) {
  7. _inheritsLoose(SassStringifier, _Stringifier);
  8. function SassStringifier() {
  9. return _Stringifier.apply(this, arguments) || this;
  10. }
  11. var _proto = SassStringifier.prototype;
  12. _proto.block = function block(node, start) {
  13. this.builder(start, node, 'start');
  14. if (node.nodes && node.nodes.length) {
  15. this.body(node);
  16. }
  17. };
  18. _proto.decl = function decl(node) {
  19. _Stringifier.prototype.decl.call(this, node, false);
  20. };
  21. _proto.comment = function comment(node) {
  22. var left = this.raw(node, 'left', 'commentLeft');
  23. var right = this.raw(node, 'right', 'commentRight');
  24. if (node.raws.inline) {
  25. this.builder('//' + left + node.text + right, node);
  26. } else {
  27. this.builder('/*' + left + node.text + right + '*/', node);
  28. }
  29. };
  30. return SassStringifier;
  31. }(Stringifier);
  32. //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0cmluZ2lmaWVyLmVzNiJdLCJuYW1lcyI6WyJTdHJpbmdpZmllciIsInJlcXVpcmUiLCJtb2R1bGUiLCJleHBvcnRzIiwiYmxvY2siLCJub2RlIiwic3RhcnQiLCJidWlsZGVyIiwibm9kZXMiLCJsZW5ndGgiLCJib2R5IiwiZGVjbCIsImNvbW1lbnQiLCJsZWZ0IiwicmF3IiwicmlnaHQiLCJyYXdzIiwiaW5saW5lIiwidGV4dCJdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLElBQU1BLFdBQVcs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