source: frontend/node_modules/underscore/cjs/create.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 409 bytes
Line 
1var _baseCreate = require('./_baseCreate.js');
2var extendOwn = require('./extendOwn.js');
3
4// Creates an object that inherits from the given prototype object.
5// If additional properties are provided then they will be added to the
6// created object.
7function create(prototype, props) {
8 var result = _baseCreate(prototype);
9 if (props) extendOwn(result, props);
10 return result;
11}
12
13module.exports = create;
Note: See TracBrowser for help on using the repository browser.