@barchart/portfolio-api-common 1.0.146 → 1.0.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -229,11 +229,11 @@ module.exports = (() => {
|
|
|
229
229
|
|
|
230
230
|
const initializeGroupObservers = (group, groupTree) => {
|
|
231
231
|
addGroupBinding(group, group.registerGroupExcludedChangeHandler((excluded, sender) => {
|
|
232
|
-
groupTree.climb((parentGroup
|
|
233
|
-
if (parentGroup
|
|
232
|
+
groupTree.climb((parentGroup) => {
|
|
233
|
+
if (parentGroup) {
|
|
234
234
|
let excludedItems = [];
|
|
235
235
|
|
|
236
|
-
currentTree.walk((childGroup
|
|
236
|
+
currentTree.walk((childGroup) => {
|
|
237
237
|
if (childGroup.excluded) {
|
|
238
238
|
excludedItems = excludedItems.concat(childGroup.items);
|
|
239
239
|
}
|
package/package.json
CHANGED
package/test/SpecRunner.js
CHANGED
|
@@ -945,11 +945,11 @@ module.exports = (() => {
|
|
|
945
945
|
|
|
946
946
|
const initializeGroupObservers = (group, groupTree) => {
|
|
947
947
|
addGroupBinding(group, group.registerGroupExcludedChangeHandler((excluded, sender) => {
|
|
948
|
-
groupTree.climb((parentGroup
|
|
949
|
-
if (parentGroup
|
|
948
|
+
groupTree.climb((parentGroup) => {
|
|
949
|
+
if (parentGroup) {
|
|
950
950
|
let excludedItems = [];
|
|
951
951
|
|
|
952
|
-
currentTree.walk((childGroup
|
|
952
|
+
currentTree.walk((childGroup) => {
|
|
953
953
|
if (childGroup.excluded) {
|
|
954
954
|
excludedItems = excludedItems.concat(childGroup.items);
|
|
955
955
|
}
|