Initial commit
[yaffs-website] / node_modules / js-yaml / lib / js-yaml / type / str.js
1 'use strict';
2
3 var Type = require('../type');
4
5 module.exports = new Type('tag:yaml.org,2002:str', {
6   kind: 'scalar',
7   construct: function (data) { return data !== null ? data : ''; }
8 });