source: frontend/node_modules/underscore/modules/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: 390 bytes
Line 
1import baseCreate from './_baseCreate.js';
2import extendOwn from './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.
7export default function create(prototype, props) {
8 var result = baseCreate(prototype);
9 if (props) extendOwn(result, props);
10 return result;
11}
Note: See TracBrowser for help on using the repository browser.