Default.js 850 B

123456789101112131415161718192021
  1. // Generated by CoffeeScript 1.9.3
  2. var DefaultBlockPrependor, 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 = DefaultBlockPrependor = (function(superClass) {
  7. extend(DefaultBlockPrependor, superClass);
  8. function DefaultBlockPrependor() {
  9. return DefaultBlockPrependor.__super__.constructor.apply(this, arguments);
  10. }
  11. DefaultBlockPrependor.prototype._render = function(options) {
  12. return tools.repeatString("\n", this._config.amount);
  13. };
  14. return DefaultBlockPrependor;
  15. })(require('./_BlockPrependor'));