This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implementing 'is' methods to classes related to view and to model #1736
Implementing 'is' methods to classes related to view and to model #1736
Changes from 21 commits
3816afb
b8c10d8
960bb38
87dc29b
cfe3b86
146bd43
9d80ec3
101819e
c725da1
67a5a74
e239f4f
c2863de
264457d
608ce64
cf2bce2
21db0af
ecea81a
290a40c
c9e7719
4e07dec
b961330
76f8a51
0fb8821
3aa2407
887ba88
2ef7d9e
de6f1a2
f33f445
96f6213
a1885ed
45c4c87
78e28c2
4315a6b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You send people to
Range#is()
which documents that:Which means that you still don't know how to use this method to check for a live range
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sending people to
Node#is()
fromPosition
(which isn't a node) seems confusing.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But see my other comment below about mentioning that this is a convention.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing blank line after var def.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, what's "cut type"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's type without
module:
at the beginning to simplify logic in further lines.Statement like:
seems to be a little to complex in my opinion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why touching this file in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the first stage when I add
is()
method, my editor fix those spaces by replacing them with tabs. So it sees to be leftover. I'll revert it.