This repository was archived by the owner on Sep 21, 2022. It is now read-only.
Fix "Out of the bounds" error#592
Merged
Merged
Conversation
| assert.equal(cropCoords.left(), 0); | ||
| }); | ||
|
|
||
| it('should handle cases when rectangle left coordinate is "0"', () => { |
Member
There was a problem hiding this comment.
тут в описание сбивает тот факт, что ты ноль в кавычки взял. Я думал ,что ты будешь проверять кейс, когда строку передают
Member
|
ok |
57a632e to
28eadf8
Compare
| this._rect = rect; | ||
| } | ||
|
|
||
| left() { |
Contributor
There was a problem hiding this comment.
а ты не хочешь вот это вот все геттерами сделать?
4528303 to
a8861cd
Compare
2 similar comments
a8861cd to
66ae781
Compare
66ae781 to
f79a52e
Compare
1 similar comment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
/cc @sipayRT @j0tunn
closes #543