Default.js 856 B

123456789101112131415161718192021
  1. // Generated by CoffeeScript 1.9.3
  2. var DefaultLineAppendor, tools,
  3. extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
  4. hasProp = {}.hasOwnProperty;
  5. tools = require('../../../tools');
  6. module.exports = DefaultLineAppendor = (function(superClass) {
  7. extend(DefaultLineAppendor, superClass);
  8. function DefaultLineAppendor() {
  9. return DefaultLineAppendor.__super__.constructor.apply(this, arguments);
  10. }
  11. DefaultLineAppendor.prototype._render = function(inherited, options) {
  12. return inherited + tools.repeatString(" ", this._config.amount);
  13. };
  14. return DefaultLineAppendor;
  15. })(require('./_LineAppendor'));