import max image size

This commit is contained in:
casperlamboo 2017-11-14 19:28:25 +01:00
parent a740e01d98
commit 28c7d06dfd
1 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,4 @@
// import { MAX_IMAGE_SIZE } from '../js/constants/d2Constants.js';
const MAX_IMAGE_SIZE = 100;
import { MAX_IMAGE_SIZE } from '../constants/d2Constants.js';
export function prepareImage(image) {
let { width, height } = image;