Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Fix "Out of the bounds" error#592

Merged
eGavr merged 1 commit into
masterfrom
fix/out-of-the-bounds
Sep 13, 2016
Merged

Fix "Out of the bounds" error#592
eGavr merged 1 commit into
masterfrom
fix/out-of-the-bounds

Conversation

@eGavr

@eGavr eGavr commented Sep 9, 2016

Copy link
Copy Markdown
Contributor

/cc @sipayRT @j0tunn

closes #543

@levonet levonet added the review label Sep 9, 2016
@coveralls

coveralls commented Sep 9, 2016

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.09%) to 83.691% when pulling 57a632e on fix/out-of-the-bounds into bb234cf on master.

Comment thread test/unit/image/crop-coords.js Outdated
assert.equal(cropCoords.left(), 0);
});

it('should handle cases when rectangle left coordinate is "0"', () => {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

тут в описание сбивает тот факт, что ты ноль в кавычки взял. Я думал ,что ты будешь проверять кейс, когда строку передают

@sipayRT

sipayRT commented Sep 9, 2016

Copy link
Copy Markdown
Member

ok

@eGavr eGavr force-pushed the fix/out-of-the-bounds branch from 57a632e to 28eadf8 Compare September 9, 2016 14:01
@coveralls

coveralls commented Sep 9, 2016

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.09%) to 83.691% when pulling 28eadf8 on fix/out-of-the-bounds into bb234cf on master.

Comment thread lib/image/crop-coords.js Outdated
this._rect = rect;
}

left() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

а ты не хочешь вот это вот все геттерами сделать?

@coveralls

coveralls commented Sep 9, 2016

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.09%) to 83.691% when pulling a8861cd on fix/out-of-the-bounds into a513644 on master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.09%) to 83.691% when pulling a8861cd on fix/out-of-the-bounds into a513644 on master.

2 similar comments
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.09%) to 83.691% when pulling a8861cd on fix/out-of-the-bounds into a513644 on master.

@coveralls

coveralls commented Sep 9, 2016

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.09%) to 83.691% when pulling a8861cd on fix/out-of-the-bounds into a513644 on master.

@eGavr eGavr force-pushed the fix/out-of-the-bounds branch from a8861cd to 66ae781 Compare September 12, 2016 10:22
@coveralls

coveralls commented Sep 12, 2016

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.09%) to 83.691% when pulling 66ae781 on fix/out-of-the-bounds into a513644 on master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.09%) to 83.691% when pulling f79a52e on fix/out-of-the-bounds into a513644 on master.

1 similar comment
@coveralls

coveralls commented Sep 13, 2016

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.09%) to 83.691% when pulling f79a52e on fix/out-of-the-bounds into a513644 on master.

@eGavr eGavr merged commit e21a153 into master Sep 13, 2016
@eGavr eGavr deleted the fix/out-of-the-bounds branch September 13, 2016 11:01
@levonet levonet removed the review label Sep 13, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Out of bounds at certain window sizes

5 participants