0
Something like this?
function useJcrop(img, type, boxWidth) {
var aspect,
bh = type ? 308 : 400,
bw = type ? 192 : 100,
bWidth = type ? 47 : 100
}
It's a lot less code.
I suggest you put those numbers into descriptive variables if possible, though. Or calculate t...