|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
303 bytes
|
| Line | |
|---|
| 1 | "use strict"
|
|---|
| 2 |
|
|---|
| 3 | module.exports = function (parentLayer, childLayer) {
|
|---|
| 4 | if (!parentLayer.length && childLayer.length) return childLayer
|
|---|
| 5 | if (parentLayer.length && !childLayer.length) return parentLayer
|
|---|
| 6 | if (!parentLayer.length && !childLayer.length) return []
|
|---|
| 7 |
|
|---|
| 8 | return parentLayer.concat(childLayer)
|
|---|
| 9 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.