debian-mirror-gitlab/spec/frontend/image_diff/mock_data.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
552 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
export const noteId = 'noteId';
export const discussionId = 'discussionId';
export const badgeText = 'badgeText';
export const badgeNumber = 5;
export const coordinate = {
x: 100,
y: 100,
};
export const image = {
width: 100,
height: 100,
};
export const imageProperties = {
width: image.width,
height: image.height,
naturalWidth: image.width * 2,
naturalHeight: image.height * 2,
};
export const imageMeta = {
x: coordinate.x,
y: coordinate.y,
width: imageProperties.naturalWidth,
height: imageProperties.naturalHeight,
};