Ein Projekt das es ermöglicht Beerpong über das Internet von zwei unabhängigen positionen aus zu spielen. Entstehung im Rahmen einer Praktikumsaufgabe im Fach Interaktion.
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.

block-comment.js 528B

123456789101112131415161718192021222324
  1. 'use strict';
  2. var Node = require('./node');
  3. /**
  4. * Initialize a `BlockComment` with the given `block`.
  5. *
  6. * @param {String} val
  7. * @param {Block} block
  8. * @param {Boolean} buffer
  9. * @api public
  10. */
  11. var BlockComment = module.exports = function BlockComment(val, block, buffer) {
  12. this.block = block;
  13. this.val = val;
  14. this.buffer = buffer;
  15. };
  16. // Inherit from `Node`.
  17. BlockComment.prototype = Object.create(Node.prototype);
  18. BlockComment.prototype.constructor = BlockComment;
  19. BlockComment.prototype.type = 'BlockComment';