source: frontend/node_modules/tailwindcss/src/util/defaults.js

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

Fix frontend appearance

  • Property mode set to 100644
File size: 361 bytes
RevLine 
[9af201e]1export function defaults(target, ...sources) {
2 for (let source of sources) {
3 for (let k in source) {
4 if (!target?.hasOwnProperty?.(k)) {
5 target[k] = source[k]
6 }
7 }
8
9 for (let k of Object.getOwnPropertySymbols(source)) {
10 if (!target?.hasOwnProperty?.(k)) {
11 target[k] = source[k]
12 }
13 }
14 }
15
16 return target
17}
Note: See TracBrowser for help on using the repository browser.