mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 18:52:50 +00:00
Added all files
This commit is contained in:
26
node_modules/jade/lib/nodes/text.js
generated
vendored
Normal file
26
node_modules/jade/lib/nodes/text.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
'use strict';
|
||||
|
||||
var Node = require('./node');
|
||||
|
||||
/**
|
||||
* Initialize a `Text` node with optional `line`.
|
||||
*
|
||||
* @param {String} line
|
||||
* @api public
|
||||
*/
|
||||
|
||||
var Text = module.exports = function Text(line) {
|
||||
this.val = line;
|
||||
};
|
||||
|
||||
// Inherit from `Node`.
|
||||
Text.prototype = Object.create(Node.prototype);
|
||||
Text.prototype.constructor = Text;
|
||||
|
||||
Text.prototype.type = 'Text';
|
||||
|
||||
/**
|
||||
* Flag as text.
|
||||
*/
|
||||
|
||||
Text.prototype.isText = true;
|
||||
Reference in New Issue
Block a user