keystone
Version:
Web Application Framework and Admin GUI / Content Management System built on Express.js and Mongoose
30 lines (21 loc) • 347 B
JavaScript
/*!
* Module dependencies.
*/
var util = require('util');
var super_ = require('../type');
/**
* Text ContentType Constructor
* @extends Field
* @api public
*/
function text (path, options) {
text.super_.call(path, options);
}
/*!
* Inherit from Type
*/
util.inherits(text, super_);
/*!
* Export class
*/
module.exports = text;