Skip to content
This repository was archived by the owner on Apr 26, 2025. It is now read-only.

Conversation

@KernelDeimos
Copy link
Contributor

No description provided.

@google-cla google-cla bot added the cla: yes label Mar 4, 2021
this.add(this.slot(function(s) {
return self.renderStackView(s);
}, this.data$.dot('topNonPopup')));
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stop leaving trailing commas.

class: 'foam.u2.ViewSpec',
name: 'topNonPopup',
expression: function (pos) {
console.log('A', pos);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove console.log

expression: function (pos) {
console.log('A', pos);
while ( pos >= 0 && this.stack_[pos][3].popup ) pos--;
console.log('B', pos);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

}
}
return self.renderStackView(s);
}, this.data$.dot('top')));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could use an arrow function and avoid having to use 'self'.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants