source: frontend/node_modules/underscore/amd/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 
1define(['./_baseCreate', './extendOwn'], function (_baseCreate, extendOwn) {
2
3 // Creates an object that inherits from the given prototype object.
4 // If additional properties are provided then they will be added to the
5 // created object.
6 function create(prototype, props) {
7 var result = _baseCreate(prototype);
8 if (props) extendOwn(result, props);
9 return result;
10 }
11
12 return create;
13
14});
Note: See TracBrowser for help on using the repository browser.