UNPKG

promised-models

Version:

promise based, typed attributes, nested models and collections

18 lines (15 loc) 323 B
/** * Inheritable */ var inherit = require('inherit'); module.exports = inherit({}, { /** * inherit class * @param {object} props * @param {object} [staticProps] * @return {Model} */ inherit: function (props, staticProps) { return inherit(this, props, staticProps); } });