UNPKG

chocolate

Version:

A full stack Node.js web framework built using Coffeescript

27 lines (21 loc) 564 B
// Generated by CoffeeScript 1.12.6 (function() { var Data, _, _module; _ = require('../../general/chocodash'); Data = _.prototype({ constructor: function(uuid, name, data) { this.uuid = uuid != null ? uuid : _.Uuid(); this.name = name; this.data = data; } }); _module = typeof window !== "undefined" && window !== null ? window : module; if (_module.exports != null) { _module.exports = Data; } else { if (window.Locco == null) { window.Locco = {}; } window.Locco.Data = Data; } }).call(this);